I use a loop in my workflow to perform several steps a specific number of times (e.g. repeat for 10 times). In the loop there is a special step which result can be success or fail.
The loop will be continued until this step is successfull once; after that, there is a break condition exiting the loop. This works really fine.
If after the loop ends and still the step was not successfull, I want the whole workflow job to fail.
Actually I see no aquivalent to a exit(errorcode) like in a batch or something.
How can I provocate that the workflow will fail?
Thanks in advance!