Support Article
BIX Standalone script execute all versions of the same rule
SA-34144
Summary
User has a rule called DATA-ADMIN-OPERATOR-ID!DATAADMINOPERATORID in ruleset 01-01-01.
User made changes to their rule and saved it in ruleset version 01-01-02.
When extract is run, two extract files are produced meaning both versions of the same extract rule were executed. Below is the java called used:
java -Xms2048M -Xmx2048M -Dpegarules.config=./prconfig.xml -Dcom.pega.pegarules.bootstrap.properties.url=./prbootstrap.properties -Dpegarules.logging.configuration=./prlogging.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl -P ../../../data -i DATA-ADMIN-OPERATOR-ID!DATAADMINOPERATORID
Error Messages
Not Applicable
Steps to Reproduce
- Create copy of a rule in another ruleset.
- Run extract.
Root Cause
An issue in the custom script.
Resolution
"-P" parameter should ideally be used in lower case, that is, "-p"
Published March 16, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.