May 23 2022 08:41 PM
Hi,
We have a logic app which is used to lookup domain in VirusTotal and close the ticket if the returned score is >10. However majority of the run history is failed. The error message is
May 25 2022 08:06 AM - edited May 25 2022 08:09 AM
Since you're doing this in a for-each loop, and there's bound to be multiple writes to your incident, you'll need to set the concurrency to 1, in the same way you'd have to do so if you were setting a variable inside of a for-each.
You _can_ tune it so that it _could_ be more than just 1 but I've not had good results in having 100% success rate when writing back to an incident like this.
It's a bit like in the old days when you might've had two people writing to an SPO document at the same time and result in a conflict.
May 25 2022 07:35 PM
Oct 05 2022 10:11 PM
Were you able to find a resolution to this problem? I am having the same issue
Oct 05 2022 11:15 PM
In my automation, it is resolved after my removing either "add comment to incident" or "update Incident" in the same branch. I am guessing these 2 action will operate the same ticket which cause the issue.