Hello guys,
I encountered the following problem.
For my flow(s) I have a Try/catch/finaklly Scope defined to Handle any error, so that the flow constantly beeing succeded even if an error occurs.
For Support, if something with the flow is false, I try to recieve the error, package it up in a mail an send it.
So far so good. I found a solution
Get the result('try'), parse it in json with a schema, select the necessary items and write it in an HTML Table attached later to an mail.
Works fine...Sometimes. The Problem is, that sometimes the Schema doesn't work. For example:
worked really well....
Here not.
The Schema doesnt work for all results, and I don't knwo how to handle that.....
What can I do to handle it correctly ?
Doe you need more information?
Solved! Go to Solution.
Hello @RiccoHipp1903 ,
I tried to do the same in the past, but I failed in the same way - the JSON schema changed and it didn't work. In the end I decided to send just a link to the failed flow as you'll have to open the flow anyway.
concat('https://flow.microsoft.com/manage/environments/', workflow()?['tags']['environmentName'], '/flows/', workflow()?['name'], '/runs/', workflow()?['run']['name'])
Hello @RiccoHipp1903 ,
I tried to do the same in the past, but I failed in the same way - the JSON schema changed and it didn't work. In the end I decided to send just a link to the failed flow as you'll have to open the flow anyway.
concat('https://flow.microsoft.com/manage/environments/', workflow()?['tags']['environmentName'], '/flows/', workflow()?['name'], '/runs/', workflow()?['run']['name'])
User | Count |
---|---|
89 | |
40 | |
22 | |
20 | |
16 |
User | Count |
---|---|
136 | |
55 | |
47 | |
36 | |
25 |