Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Fact ID in PR_DATA_IH_FACT Table is storing Negative Values



For few responses added in PR_DATA_IH_FACT table was storing negative values for Fact ID and PZIDs.

Error Messages

Not Applicable

Steps to Reproduce

Submit IS response and you would notice negative (sporadically) values getting added under PZIDs and Fact ID columns.

Root Cause

The Fact ID generation in Pega 7 is different than PRPC 6.3.1. In older release, PRPC uses a database sequence approach, while Pega 7 uses a class RandomSequentialIDGenerator which generates partially random and partially sequential long (64 bit) ID's. The generated ID's represent a hash of the entire FACT record and therefore can have negative number values.


From 7.1 onwards the IDs are not numbers pulled off a database sequence but they represent a hash of the entire FACT record. These are generated randomly from the PRPC class com.pega.decision.common.ih.RandomSequentialIDGenerator. Hence negative number values for pxFactID are possible.


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us