This content has been marked as final. Show 3 replies
I have two tasks in series. Task "A" needs to successfully complete before Task "B" will start.
Task "A" has code which will check for a condition and will halt the rest of the script to run BUT in the eyes of Publisher the task was successful in completing.
Therefore is there a way to force the completion flag to set to "Failed" even though the task was successful. One though is to include a "bug" in the script which will cause the task to fail on that condition. The issue there is Publisher will now send an alert email on each failure (task runs every 5 minutes). Not a suitable solution.