Cannot specify extract directory from Agent execution
User is using an advanced agent that calls a custom activity that in-turn calls the pxExtractDataWithArgs activity as recommended in the BIX help. The custom activity prepares the -P <outputdirectory> argument for passing to the pxExtractDataWithArgs activity. However, that argument is failing. This means user is unable to have a configurable output directory for the extract.
** [Rule-Admin-Extract.pyMessageLabel]pzInvalidExtractArgument -P]
Steps to Reproduce
1. Create an advanced agent that calls a custom activity.
2. In that custom activity call pxExtractDataWithArgs passing pyArgs = "-P /xyz/abc/def" (where /xyz/abc/def is a valid directory path on the server).
3. Trace the agent execution to see the error.
An issue in the custom application code or rules : As per the BIX user guide -P option is not available when running an extract rule with pxExtractDataWithArgs.
Here is the explanation for the reported behaviour: The -i, -a, -p, -T, and -P command-line parameters are not supported for pxExtractDataWithArgs.
0% found this useful