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 1, 2016 - Updated September 15, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.