Forum Discussion
Gilbert Okello
Apr 20, 2017Iron Contributor
MS Flow: How to use the results of an "Action" in subsequent condition
I would like to send out an email notification if the previous action fails. Is there a way to capture the results of the previous action so that i can use it in subsequent conditional action? i....
Gilbert Okello
Apr 21, 2017Iron Contributor
Thanks Mikael.
Essentially, the issue is how to know that the previous action wasn't successful.
Another scenario would be say I am adding an item into a list and it fails to add (e.g. required field missing or item already exists).
I want to be able to take an action based on that failure.
If item is successfully added, send "success" notification.
If item is not successfully added, send "failed to add" notification.
Hope this clarifies the issue.
Mikael Svenson
Apr 21, 2017Iron Contributor
Right now you would have to do a Logic App instead of Flow to handle this scenario. Take a look at https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-exception-handling
- Gilbert OkelloApr 25, 2017Iron Contributor
Thanks Mikael Svenson!