Reputation: 1457
Within LogicApp I have a parallel branch with run afer
set to when fail
. If the previous step fails, appropriate actions are taken to mitigate the situation and no more action is needed, nor information on the fail. From business and user perspective that is success, so final Status
for the whole LogicApp run shall be Succeeded
instead of Failed
.
How can I change the LogicApp status to Succeeded
?
Or revoke a fail status for particular action (so assume this will solve the problem as well), when I know that it has been mitigated?
Upvotes: 0
Views: 2696
Reputation: 14324
This is because the logic apps the engine determines the entire run's status by evaluating all the branch statuses. If any branch ends in failure, the entire logic app run is marked Failed.
The simplest way is add an action after the parallel like the below to add action run after both is successful and is skipped. Cause you already set the parallel action to handle the error and only one branch could be skipped, and with this setting even one branch gets exception failed the logic app still could return fail.
The last action could be any in my test I use a response action, make sure this action will success. And the below is my test, one only one action fail but only one branch is skipped one with one branch failed.
Update with terminate: Check my setting for terminate.
Upvotes: 1