Question


Hawaii Medical Service Association
US
Last activity: 3 Mar 2017 12:13 EST
what option is available in BIX when i run from designer studio and want to include properties from child classes?
if it is command line, it would be '-c'. but if i want to run from designer studio where extract rule is defined in work group level and i would like to include all work types in the extract rule.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems
IN
Command line options are not available when you run the extract rule from the ruleform. Extract rules are intended to be run from command line. That said, you can use the pxExtractDataWithArgs activity available from 7.1.8 onward. Please refer to the BIX user guide - https://docs-previous.pega.com/bix-71-user-guide


Hawaii Medical Service Association
US
Hi Rajiv,
Thanks a lot for your reply. I went over the document. Will the pyArgs take '-c' without quote?


Pegasystems
IN
Yes it would.


Verizon
IN
Hi,
When i gave the argument -c to the pxExtractDataWithArgs activity, it is throwing an exception that it could not process the extract rule. Please advise.


Pegasystems Inc.
IN
Hello Kommisettiv
Can you please provide us the complete exception details.


Hawaii Medical Service Association
US
Hi Rajiv,
Thanks .We are considering whether command line or extract activity? What would be considerations to choose one option over another?


Pegasystems
IN
Note that when run via an agent, it will run in a background thread in the same JVM as the node where it has been scheduled to run. If run via a shell script, it spawns a new JVM (process) to extract the data. So the call is whether to load the current JVM with extra processing or to spawn a new one.
Extraction could be a heavy (resource intensive) process depending on how much data you are extracting.
Also, if you are using Pega Cloud, the pxExtractDataWithArgs is the only option to extract data.


Hawaii Medical Service Association
US
Hi Rajiv,
'Extraction could be a heavy (resource intensive) process depending on how much data you are extracting'
Is the resource intensiveness on the application server or on the database. I assume on both. But what is the impact like in database and app server? Does simply adding resources (CPU and Memory, and storage) resolve it even if we are using agent to run pxExtractDataWithArgs? We do not have cloud but looking at the option to use the activity be run from an agent? Are there any other considerations?
Updated: 22 Feb 2016 0:38 EST


Pegasystems
IN
Typically the extract rule has only a subset of the properties that the work object (case) has. So depending on how big the BLOB is and how much data is extracted, that much processing is needed. Yes, it will have an effect on both database and application server. Please note that when you use this activity to run as an agent, it runs only on one node rather than all nodes connected to this DB (cluster).
You can get further details about the performance benchmark done for command line BIX in the user guide - https://docs-previous.pega.com/bix-72-user-guide