Error Handling for Flow Designer Action is not setting step status correctly for a REST request

Elliott2
Tera Expert

Hi all,

 

I'm having an issue when building a custom Flow Designer action using REST step and error handling

 

I have created several error handlers and none of them will trigger and correctly end the action, instead, the next step is run. Is there something I a doing wrong here that is causing it?

 

Elliott2_3-1690581024914.png

 

Elliott2_1-1690580887498.png

Elliott2_2-1690580922113.png

 

 

1 ACCEPTED SOLUTION

Edit: The solution is to add a script step to the action after the rest step, then perform all error checking manually there, and throw when you want to stop the action from processing further.

View solution in original post

2 REPLIES 2

Elijah Aromola
Mega Sage

My understanding of what a 'error' is when making a rest call via flow designer is if the step actually encounters an error such as an incomplete credential or a bad reference. A 400 error is an API error, not a flow designer error. The action made the call and got a response back so it was successful. 

Edit: The solution is to add a script step to the action after the rest step, then perform all error checking manually there, and throw when you want to stop the action from processing further.