Running an Extract rule by using an agent
Running an Extract rule using a Pega Platform agent.
To schedule an extract from within your application, modify the RunExtract agent that is in the Pega-BIX ruleset to periodically invoke the pxExtractDataWithArgs activity to run a BIX Extract rule. This activity takes as arguments the class and name of the Extract rule to run and, as a single string, the list of BIX command-line parameters desired for each run. The agent must only be enabled on the dedicated node for BIX processing to help avoid any negative performance impacts to production while the Extract rule is running.
agent/threadpoolsize
setting in the
prconfig.xml file controls the number of threads available in the
agent pool, and consequently, the number of agents that can be run concurrently. If you
schedule more agents to run concurrently than the value of the
agent/threadpoolsize
setting, you might get a stale thread error.
Increase the value of the agent/threadpoolsize
setting. The default value
of the agent/threadpoolsize
setting is 5. See Optional command-line BIX parameters and Agents rules.
See Developer Help topics Optional command-line BIX parameters and Agents rules for more information.