I have this workflow where I need to iterate through a mail inbox to find a mail with a specific subject and if the condition is met it saved the attachment and processes it. However I can’t seem to wrap my head around how I stop the workflow if no mails with the subject is found.
If a put a terminate workflow or similar activity in the else box of the if statement it will do this on every e-mail in the loop. I need the workflow to stop only when it has gone through all mails in the loop and condition is not met.
How would I do this easiest?