Hi All,
We have 2 Flows that are fired when a Case is accepted.
The 1st Flow creates the team memberships when the Case is accepted.
The 2nd Flow sends email notifications when a Case is accepted.
The 2nd Flow relies on the 1st Flow because that Flow generates the team memberships so it knows who to send the email to.
The problem is that they both triggered when a Case is accepted (Case status is changed to Accepted).
So you can see the potential problem?
- The 2nd Flow could be half way from completion while the 1st Flow is still in progress OR
- The 2nd Flow completes before the 1st Flow so not all emails are sent OR
- The 1st Flow completes before the 2nd Flow is executed (the ideal scenario).
But it is not a perfect world so we end up with erratic results like no emails are sent or some emails or all emails.
So how do we fix it?
1. Make them a single Flow OR
2. Generate the team memberships before the Case is accepted
3. Delay the run of the 2nd Flow by a few milliseconds or seconds
3. Perhaps use plugins instead.
But we are stuck with Modern Flows.
Can anyone think of another way so that the 1st Flow completes first before the 2nd Flow?
Thanks
a2z