How do I trigger a task if at least one of a set of tasks fails?
Last updated
Last updated
© Copyright 2023, Astera Software
Triggering an error notification email if one or more tasks fail from a set of multiple tasks is a common use case. Multiple incoming workflow links to a workflow task object by default operate with AND combination logic.
In the following workflow, if all of the linked tasks, RunDataflow, RunDataflow1, and RunDataflow2, fail, the SendMail task will be triggered.
If you want SendMail to be triggered if one or more tasks fail, you can use the OR object. With this flow, if one or more of the dataflows fail, the OR object will return a True, and the error notification email will be triggered.