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

pzPackageRuntime cannot be resolved

SA-27533

Summary



Creating or saving an instance of a custom rule type, for example Rule-Obj-<custom class>, results in an error.

Error Messages





Steps to Reproduce

  1. Create a custom rule type, for example Rule-Obj-MyFlowAction, which extends the out-of-the-box FlowAction rule type.
  2. Copy the Rule-Obj-FlowAction.RuleFormLayout to Rule-Obj-MyFlowAction applies to class.
  3. Make sure the Direct Inheritance for Rule-Obj-MyFlowAction is Rule-Obj-FlowAction and Find by Name First is cleared.
  4. Create an instance of My Flow Action, which will show the My Flow Action Rule Form.
  5. Specify the value for Section, try saving, and see the error.

Root Cause



pzPackageRuntime error appears because the variable is not in scope. The declaration of the pzPackageRuntime variable must be moved to super class from StreamBuilderSection to AbstractStreamBuilderSupport.

Resolution



Apply HFix-29197.

Published September 15, 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