
I have a flow that is uploading emailed attachments from a specific account to Teams. If for some reason the upload fails (such as the file was open), I want the job to send an email on failure and then terminate the job as failed so it's easier to find in the job history. Without the terminate failed action, the job will show successful because of the email action.
Now, I also want a parallel job to run on success or failure to clean up the inbox of this account. However, the terminate flow action is preventing this parallel branch from completing.
How should I go about fixing this issue?
Thanks.
I would bring the two branches back together at the bottom of the flow and add a condition at that point. Where the terminate is now I would set the value of a variable to true. Then in the condition check that value. If its true run the terminate, if its false let the flow finish normally.