Forum Discussion
MS Flow: How to use the results of an "Action" in subsequent condition
Hi,
If you create a file, what would the different outcomes be? Are you thinking if the action fails and cannot create the file? That's not doable afaik, but you could do a condition based on something else on the fileitem itself.
If you could give some more information about what condition on an action you are looking for that would help.
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 SvensonApr 21, 2017Iron ContributorRight 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!