I have a quite large flow containing 20 different Execute Command elements all running different arguments in Imagemagick. If any of these elements generates errors, when executing the argument, I would like to collect all these errors in one folder.
I can of course use the traffic light to route alle error-files to a specific folder, but with 20 different elements all connecting to one folder the flow design is a mess.
Is there any way to have the Execute command elements send error files to a specific location without using the traffic light connection?
Collect error files
Re: Collect error files
No. The Execute Command element can only route failed jobs through its Error traffic-light connection, so to collect them in one folder you still need to connect those error outputs to a common folder or intermediate element. A tidy workaround is to send all error paths into a single flow element first, so your diagram looks slightly less like spaghetti designed by an exhausted octopus.