Support Article
BIX script not calling highest ruleset version of extract rule
SA-6645
Summary
You are using BIX Version : 2.3.1. BIX ANT scripts created to call PEGA BIX extract rules are not able to identify the highest ruleset version to be called for the PEGA extract rule. The behavior is very intermittent and varies every time the script is executed. Sometimes, the first ruleset version of the Extract rule is picked up and sometimes last and sometimes all the versions are called one by one.
We have an Extract Rule TestExtract which available in 3 different ruleset versions 01-01-01,01-01-02,01-01-03. After calling the extract rule from ANT scripts which uses class name and rulename as parameter, the extract rule TestExtract is called 3 times and it calls the oldest version last and therefore the file that is generated is incorrect pertaining to the oldest ruleset version.
Error Messages
The extract rule is called multiple times.
Steps to Reproduce
Create an Extract Rule in different ruleset versions in the same ruleset.
Write a shell script and pass extract rule name as parameter as i=A-B-C-Data-Test!TestExtract
Root Cause
The root cause of this problem is a user error in calling Extract Rule with appropriate parameters. To Rule resolve Extract Rules, -a/-p parameters need to be supplied.
Resolution
The explanation for this behavior is as follows: Use -a/-p parameters to rule resolve Rule-Admin-Extract instances based on the user access group.
Complete list of BIX parameters and their use is listed here:
https://pdn.pega.com/business-intelligence-exchange-bix/business-intelligence-exchange-bix-parameters
Published January 31, 2016 - 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.