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.
Exit codes of Command Executor processor
Exit codes of Command Executor processor
Alexander Sorkin
Re: Exit codes of Command Executor processor
You are right on both these issues and I will take a look at them. Thanks for reporting!
-steipal
-steipal
Re: Exit codes of Command Executor processor
I can confirm that the exit-code issue has been addressed for the next release (0.7.6).
-steinar
-steinar