I have developed a workflow which generates four different output files. I want to ensure that if one of the outputs has no data, it will not generate an output file.
Using the test function to check if there is any data, and setting the runtime configuration to 'cancel running workflow on error' does ensure that the output file is not generated - however it also stops the other files which would have contained data being generated. I need to ensure that the files which have data are always written; only the file with no data should not be written.
Is there a way to use tool containers, so that if the test fails, it will stop the workflow only for that container? Or is there another way to stop the output of files with no data, so I am not stopping the workflow?
Solved! Go to Solution.
it works, thanks very much