The ability to invoke actions after a successful or failed action is critical when you are implementing your Flows in Microsoft Power Automate.
If you are new to Microsoft Power Automate, there is a feature of Power Automate that not everyone is aware of yet a very useful one, and that is configuring the “Run After” capability.
This feature of Power Automate is very useful in a lot of tricky situations. For example, instead of getting those annoying emails whenever one of your flow fails, you can configure the “Run After” for “has failed” and add in an additional step to send you an email detailing which flow has failed and when it has failed. That is just one of the things you can do with “Run After” feature of Power Automate.
To start, you can apply this handler to almost all Power Automate actions by simply clicking on the three dots or “…” on the right corner of the step which you wish to configure and select “Configure run after”. From there, you can select either one of the options or multiple options. For example, in the following situation, this example shows the configuration of the Run After handler after updating a list item in SharePoint:
In Power Automate, you can configure the flow “Run After” configuration handler with 4 options to choose from:
- is successful – If the action runs successfully.
- has failed – An action has any type of failure (except timeout).
- is skipped – An action was skipped. Actions are skipped either when a condition is not met, or, when a previous action before that action fails.
- has timed out – An action time out. This can happen if the call to the backend times out (120 seconds), or for long running actions such as approvals, after 30 days.
That is really it! It is that easy to configure a run after for Power Automates. Hopefully, this has helped or will help you out with your future flows!
Posted by: Edward Chan & Noorez Khamis
Reach out to us to get started- email us at email@example.com or book a meeting with us to get you migrated.