Unable to pass -P args to pxExtractDataWithArgs activity for dynamically setting the destination file path

Hi, I am currently calling pxExtractDataWithArgs from another activity to run an extract rule. I would like to pass in a dynamic file destination in pyArgs.

I’m trying to pass in “-P /TestEnv/BixReporting/Temp” for pyArgs but am getting an error. I also tried with a backslash and still no luck: “-P "/TestEnv/BixReporting/Temp"”.

Error:

[Rule-Admin-Extract.pyMessageLabel]pzInvalidExtractArgument 	-P

Could someone assist me in achieving this. Thanks in advance

Hi @NandiniP

-p and -P option is not available when running an Extract rule with pxExtractDataWithArgs.

@Megha007

Thank you for the reply,

Is there any alternate solution or approach that I can try to achieve this functionality.

Our application is based on client based cloud and we are trying to pass the cloud path to destination instead of local folders.

Hi@NandiniP

You can try to save as pxExtractDataWithArgs and create a new activity by commenting the below java steps in the first step of the activity. Please refer the screenshot attached.

@Megha007

I am now seeing a different error as below

" The specified file directory  \xxxxxx/xx/xx/BIXReporting does not exist "

Could you please help me in resolving this error

@NandiniP I believe that your original question was answered and solved.

Regarding your new error: This error message indicates that the directory specified for the Business Intelligence Exchange (BIX) extraction process does not exist or is not accessible. This could be due to incorrect configuration or permissions. You should ensure that the directory exists, is correctly specified in the BIX configuration, and that the necessary read/write permissions are granted.

BIX logging

BIX on the cloud - BIX/sharedpath DSS