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

Sequence of case IDs generated is incorrect

SA-107358

Summary

When a user creates cases, the case IDs generated are not sequential.
Example of the sequence of the case IDs generated: TAX-E 2001, TAX-E-9 and TAX-E-3145.


Error Messages

Not Applicable 


Steps to Reproduce

Create cases manually or via cases Application Program Interface (API).


Root Cause



A defect in Pegasystems’ code or rules. This is an expected behavior due to the modified Application Program Interface (API) on Pega 8.3. On receiving a request for the creation of case, a batch size of 1000 is assigned for that particular node as per he Dynamic System Setting (DSS). On request from another node, the next batch size, 1001-2000 is used. This is made to enhance the performance when the user needs to migrate millions of work objects and when the ID generation might get slow.

 

Resolution



Perform the following local-change: 
Use the below new DSS to change the batch size as per the requirements:
DSS: idGenerator/defaultBatchSize
Set the value to 1

Note: The batches remain the same until all the IDs in the batch are completely utilised before a request for a new batch. This occurs when the batches are already allotted. When a request for a new batch occurs the modified DSS comes into picture and allot the batch sizes accordingly.

Published May 1, 2020 - Updated December 2, 2021

Was this useful?

100% 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?

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