Hello,
Is there any way to specify to exit the workflow if specific conditions are met by skipping the following steps?
I could not find any command that will do the abovementioned task in the documentation. I am looking for something similar to exit()
in python.
mrc
#2
This would be very tedious to apply in my case. Can we somehow use this conditional to specify run only if a certain input file exists?
mrc
#4
You could have an optional input and test for it’s existence in the when
expression.
Something like when: $(inputs.my_opt_file === null)
but I haven’t tested that.
1 Like