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

CloseDefaults called multiple times

SA-3679

Summary



When using "Get Most Urgent" from the Work User Portal, you observe the PreClose activity is not called but in some cases CloseDefaults is called multiple times. 

Error Messages



N/A


Steps to Reproduce

  1. Turn on tracer 
  2. Ask another user open the most urgent work item associated to your profile
  3. Click on "Get Most Urgent"
  4. Observe CloseDefaults called multiple times.

Root Cause



During the course of opening the next most urgent work item, the system will load onto the clipboard the contents of the most urgent item then check if its lock is available. If the lock is not available the system will call closedefaults on said item. So depending on the lock availability of workitems CloseDefaults can be called multiple times.

Resolution



This issue is resolved through the following local change:
Add a when condition to the CloseDefaults activity to guard around auditing on workitems on which the lock is not held.

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