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

Cover count -1 on resolving a case which has both parent & child



There is a parent case "A", for which a child case "B" is created. And "C" and "D" are the child cases for the case "B".

Now, when user tries to resolve the case "B" using "pyInvokeForceWithdraw" configured on button click resolves child cases ( C & D) of B first and then B case resolution should occur.

But the resolution of cases doesn't occur and the error comes up on the screen.

Error Messages

** The cover open count is incorrect; it is -1

Steps to Reproduce

1. Create cases as per hierarchy (A- B-C).
2. Add an assignment in B case. Create a section with the button. On click of button, change stage to Resolution.
3. In the Resolution stage, add an utility to Resolve(pyInvokeForceWithdraw) its child case one after the other and then Resolve B case.

Root Cause

In the 8th step of Work-.Resolve activity which performs findPageByhandle on coverPage sometimes returns the value as "pyTopCaseWork" which is not expected and the reason for the reported issue.


Apply HFix-37344.

Published February 1, 2018 - 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