Get bussines exception reason in queueitem from orchestrator

Hello,

I have several business exceptions on my workflow. At the end of the process, I want to treat them in different ways.

I’m thinking about a way to get the reason of the business exception per failed queueItem, is that possible? Cant figure out how

When you get to the catch block for the business exception, you can pull exception.Message to pull the custom message you’ve set for the business exception.

Actually, I need to do it at the end of the whole process, after the transactions have ended.

I’m using GetQueueItems activity + Failed filter. Now I have to distinguish them by bussiness exceptions message/reason

You can set the details of the exception with Set Transaction Status. You can later fetch those details with MyQueueItem.ProcessingException.Details, where MyQueueItem is a QueueItem object.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.