RuleNotFound on exporting Product rule with command line utility
RuleNotFoundException occurs when exporting a Product Rule through the command line utility.
[java] [ your_host] [ STANDARD] [ ] ( internal.mgmt.Executable) ERROR - RuleNotFoundException
[java] com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'YOURWHENRULE' that applies to 'YOURCLASS'.
Steps to Reproduce
- Create a Product Rule
- Include Class instances in the Product rule and mention the class name
- Include a When condition
- Export the rule using the command line utility
A defect or configuration issue in the operating environment. The specified prpcUtils.properties did not include the Pega username and password for rule resolution to find the Rule-Obj-When rule.
ResolutionPerform the following local-change:
Specify the pega.user.username and pega.user.password properties for an operator with the correct access group to determine the runtime context.
0% found this useful