Hi Team,
I have an old/existing a flow which reads records from excel and performs some operations.
Due to unknown exceptions the flow stops/terminates executions in middle and that's the reason the user keeps waiting for concerned operations or results.
I want to send notification email to user when old flow fails or stops execution, so that they understand and can perform same operation again.
Please guide me here.
Thanks,
Vaibhav
thanks @Rilsina. Your suggestion was very clear and simple to understand.
Hi,
Add an Action-" Scope"- this will be your try block. You can drag and drop all your existing actions in this block.
If not drag drop, you can copy paste and then delete the outside scope actions.
Make a copy of the flow before you do the changes so that you have backup if any step goes wrong.
Hope this helps!
Need one more your suggestion here.
I have old Flow and its have too many steps. How can I use try and catch here without disturbing existing functionality.
All the time getting different exceptions in one Condition block(having too many steps and operations). I want to use Try for this condition block.
Thanks @DamoBird365 and @Rilsina. Your comments are truly valuable for me and I will go with what you suggest here.
Hi,
Agreed on previous reply, you can add a new Action: Send an Email and configure it to run after the action that fails.
If there are multiple actions that fail than you can add all actions in scope and configure send an email to run after scope fails.
Hope this helps
Hi @VSJ
You probably want some sort of error handling using scopes that run after the previous scope has failed. Take a look here:
https://damobird365.birdhoose.co.uk/2021/03/02/error-handling-power-automate/
Damien
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional