08-04-22 10:10 AM
08-04-22 10:21 AM
29-04-22 05:00 PM
Hi Malin,
Thank you for sharing and for the detail in your post.
As Shashank rightly mentioned the process will generate an exception when a 400 response returns, in your case a customer 422 response.
When this exception occurs what you can do to log it and prevent the process from freezing or just terminating is to recover, write down the exception detail and reason and then resume in that order using a multi-calc stage.
Below is what we use in our internal processes in BluePrism, we keep the Exception Type and Exception Detail as data items for each case and during the exception path if there are certain types of exception such as your 422 we can search the data item using an 'InStr' function to look for "422" and if True we can either choose to retry, not retry, or send custom emails/notifications in either instance.
Let me know if you have more questions, hope this helps!
Best Regards,