Use your right mouse button on the microflow action and select set error handling. Pick Custom (with or without rollback) and then connect your error handler to the microflow action. Finally, use your right mouse button on the arrow that is the error handler and select Set as Error Handler. If your error occurs in a submicroflow, you may want to create the error handling inside of that microflow for more granular error handling.
These documentation links may be helpful:
Hope that helps,
Have you added Error Handling to the REST action that makes the call? When you do this, you can define an error flow and in that flow create your own logging node. There you can use the $latestError variable to print out the message and stacktrace specifically for your REST call. This is the best way to get information to your log when you hit an error.
For more information on how to do this, check out this how-to and learning path:
Thank you for the quick response as well as the 2 sources.
I do not see how to adorn a microflow with (error) event
with an outgoing (error handling) flow (BPMN- like).
More than one flow shows an error.
How do I that?
That did it!
Setting the error handling as “Custom w/o rollback”, I have my 2 custom messages (1 user-friendly, the other more techy with REST stuff), albeit the generic one remains.
How do I suppress the generic one?
Thank you very much!