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

Copy existing page option not working when previewing a rule

SA-29589

Summary



Try using copy existing page option to run any rule. The page into which the data is copied, is not used when previewing the rule. It always uses pyTempWorkPage.


Error Messages



No errors observed other than incorrect context


Steps to Reproduce

  1. Open any rule in designer studio (such as your operator record).
  2. Create a section rule which applies to the same class as the rule you've opened (in my case, Data-Admin-Operator-ID).
  3. Insert a formatted Text field, showing a property from that clipboard page (.pyLabel).
  4. Save and run the section Rule.
  5. Select the thread Data Context .
  6. Click "Switch Context".
  7. Select "Copy existing Page" and pick the existing page.
  8. Click "Reset Page".
  9. Click "Execute" and section doesn't render anything.

Root Cause



It is observed that, the Step Page is always set to pyTempWorkPage in ShowVisualization Activity.




Reason for this is Page name and Page type parameters are missing in the request being created.

Resolution



Apply HFix-29887.

 

Published October 27, 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