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

Issue with createWorkPage final activity in new version



Error occurs on creating a child case using the parent case data when employing the createWorkPage final and AddCoveredWork activities.

Error Messages

Trying to save an invalid page: .pxInsName: Keys of Instance Value must be specified Trying to save an invalid page: page is not valid

Steps to Reproduce

  1. Open the parent case.
  2. Call the createWorkPage activity to create a workpage for the child case by passing all the Cover case details and InsClass of the child case (which must be created).
  3. Call the AddCoveredWork activity to create the child case.
  4. Save the changes and commit.

Root Cause

The case was not created beacuse, the parent case work page was passed as the parameter to the Close activity in the createWorkPage activity's Step 7. This work page was removed in the WorkUnlock activity which was invoked in the Close activity.
Since the page was removed when the RecalculateAndSave was called in the AddCoveredWork, it failed to find the pxInsName and the error occurred.


Perform the following local-change:

Use the AddCoveredWork activity (instead of the CreateWorkPage activity) by passing a page containing all the property values that are required for child case creation as the Step page to the AddCoveredWork activity.

Published August 15, 2019 - Updated December 2, 2021

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