I'm having trouble figuring out how to use task conditions successfully in a job. I have a job with two tasks:
1. run a script that outputs some HTML
2. send an email report using that HTML as the body
This works fine, but if certain conditions in the script aren't met, then I don't output anything. In this case I'd like to prevent the email report from sending. I set a condition on this task to only run if the previous task's output contained an HTML tag, but the second task still runs and sends a blank report. I've attached a screenshot of the condition configuration.
please let me know if I'm going about this the wrong way. Thanks!
Edited by moderator
2017-02-08T08:56:27Z
|
Reason: Not specified