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

Unable to remove all records from an embedded page

KCP-354

Summary



A user converts XML content returned from a REST service to a Clipboard page using the Parse-XML method in an activity. After the conversion, there user is unable to remove all the records from the specific embedded page list. The requirement is to remove all the records and retain a single record.


Error Messages



Not Applicable


Steps to Reproduce

  1. Input XML content with an embedded page list.
  2. Use the Parse-XML method in an activity to convert the XML content to the Clipboard page.
  3. Invoke a data transform rule and copy the specific record from the original page list to a temporary page list.
  4. Use the Remove method to remove the original page list property.
  5. Re-add a record stored in the temporary page list, to the original page list property.


Root Cause



A defect in Pegasystems’ code or rules: Issue with the new Assembler.


Resolution



Perform the following local-change:

Set the following Dynamic System Setting (DSS) to switch back to the old assembler system-wide:

Ruleset: Pega-IntegrationEngine

Purpose: SwitchToOldAssembler

Value: true

Note: Perform the following steps if the user does not want to switch to the old Assembler system-wide:

  1. Change the SwitchToOldAssembler DSS value to false.
  2. Save the @baseclass.pyEnableOldAssemblerForParseXmlRules WHEN rule into the class on which the Parse-XML rule is invoked and always returns true.

Published 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