Catching all errors, run still shows as an error

Sylvain 216 Reputation points
2022-09-20T13:54:50.643+00:00

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 :
242970-image.png

But during the run, the workflow still fails :
242929-image.png

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?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,079 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sylvain 216 Reputation points
    2022-09-20T14:03:42.18+00:00

    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:
    243053-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.