Force workflow failure due to failing rows
Is there a way I can force a whole workflow to fail as a result of failing rows in a validation step(at desired tolerance level)? I want my workflow to stop and fail when I have a certain number of failing rows. I have email notifications set up with fire event to email me when I have failing rows but I also want the full workflow to fail. Sorry I cannot seem to see this in the user documentation. I have tried to replicate failure by appending new columns of 0s and 1s (0 for failures) and dividing a constant by my new column, but this does not fail the whole workflow, just give errors in rows where dividing by 0.