I have a complex workflow within a batch macro which is set to loop for a set of files via an elementary workflow. I want the macro-ed workflow to terminate on hitting any error (be it of a non-fatal kind; I designed one using the Test Tool) for any file and the next file in the queue sent to the macro for fresh processing.
I had checked the "Cancel Running Workflow on Error" in the macro but defaulting files manage to run through the entire length of the macro despite returning errors (as ascertained from the message-box). Looking for suggestions on where I went wrong.
I had a similar question. Here is the link to my question and solution. Link
Here is another potential angle. . here by @MarqueeCrew
Ideally an output configuration would block all output until your defense has had a chance to review all conditions before it. I have a trick for that. I count my error records and use an append fields tool in front of a filter. Only zero defect data (all or none) can pass. If a single defect is encountered the filter passes no data. There are additional steps post the filter to cleanup and define the output.
And...CReW Macros includes the Blocking Test Tool that "tests an expression is true for all records in a data stream and if any are false does not pass any records downstream"
Neither does answer my question. To elucidate a bit more:
User | Count |
---|---|
19 | |
15 | |
13 | |
9 | |
8 |