Exit codes of Command Executor processor
Posted: Wed Jun 15, 2016 2:10 pm
I wounder how FFAStrans handle exit codes of Command executor processor?
I made a batch file to do some probing/testing, and it can return different exit codes:
If everything is OK: exit /B 0
If something is wrong: exit /B 1
I'd like to add some logic to the workflow based on the desigion. That's why I added two Delivery Folders - one should be executed on success, and another - on errors. But it seems, that only "Execute on success" is running. Even if exit code of batch file is 1.
Is it an issue?
P.S.
Have tried to make some workaround, using global environment variables in my batch file:
setx FF-CODE 1
But Conditional processor doesn't catch refreshed values. It seems that FFASTRANS reads environment at start only.
I made a batch file to do some probing/testing, and it can return different exit codes:
If everything is OK: exit /B 0
If something is wrong: exit /B 1
I'd like to add some logic to the workflow based on the desigion. That's why I added two Delivery Folders - one should be executed on success, and another - on errors. But it seems, that only "Execute on success" is running. Even if exit code of batch file is 1.
Is it an issue?
P.S.

setx FF-CODE 1
But Conditional processor doesn't catch refreshed values. It seems that FFASTRANS reads environment at start only.