I have a cloud flow that is receiving a webhook and then running a desktop flow to perform UI operations on our ERP system.
If the unattended bot runs into an error that it doesn't know how to deal with then the desktop flow errors out and provides a screenshot for context.
Is there a way to capture this screenshot/error context and send an email on failure? As you can see in my first image, the flow already sends an email for either a successful run or failed run. I'd like to provide this screenshot in the failed run email if possible.
Thanks.
Solved! Go to Solution.
For anyone that manages to hit this post from Google, here is how I solved my issue.
First, I created a subflow to handle errors. Example:
Then in my main program I added a "On block error" flow control action that is set to run a subflow:
Hope that helps.
bump
For anyone that manages to hit this post from Google, here is how I solved my issue.
First, I created a subflow to handle errors. Example:
Then in my main program I added a "On block error" flow control action that is set to run a subflow:
Hope that helps.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
31 | |
27 | |
27 | |
21 | |
10 |