Ok found a way to make it work, for those who are interested in : the key is to have all branch returning succeeded state (if there is any with skipped state the run is considered as failed).
So I added a step which runs only when skipped:
Catching all errors, run still shows as an error
Hi,
I have a Standard Logic App with a Foreach loop, in which I want to ignore the errors.
Following the documentation guidelines here, I've added an action with the "run-after" property set, which leads to this picture :
But during the run, the workflow still fails :
Following the documentation, the workflow should succeed, how is it possible?
Thanks.
Edit : nevermind I realized I'm in case 1 in the documentation (with a branch that is skipped), so accordingly this is normal the workflow fails. But is there a way to make the workflow succeed despite the error?
1 answer
Sort by: Most helpful
-
Sylvain 216 Reputation points
2022-09-20T14:03:42.18+00:00