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

The cover open count is incorrect; it is -1

SA-34516

Summary



An error is displayed when trying to resolve a work object.

Error Messages



The cover open count is incorrect; it is -1

Steps to Reproduce



Resolve a work object.

Root Cause



When a work object is re-opened, the pxCoveredCountOpen is set to 0 by the UnresolvedWorkInACover list view even though there are open covered objects. This occurs because the parent class and the child class belong to different class groups. Hence, the data is stored in different database tables. The list view was designed to be used with classes belonging to the same work pool so the query is not running against the correct database table in this scenario.

Resolution



Perform the following local-change:
Replace getContent activity in the UnresolvedWorkInACover list view to use a custom activity that runs a union query among the work tables configured for the application.

Published March 14, 2017 - Updated October 8, 2020

Was this useful?

50% 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