I’m trying to set a flag, where… if my workflow has gone so far, set cancelOrder = True if a Business Rule exception is thrown. But obviously none of the out arguments are passing through if a BRE is thrown. So I’m trying to figure out how to pass my boolean in this case.
When any Business Rule Exception is thrown, IF the workflow has passed my check point, then it should run the cancel order script in the business rule exception Handler in my main workflow. That’s the goal. But I can’t find a good way to pass that check into my main workflow. I’m trying to avoid invoking the cancelOrder.xaml in every place where a BRE is thrown, and instead I’m trying to just handle it in the main try catch.
I saw someone posted something like this stating you can access the exception logs to find the data as a string. I’m just confused about how that’s done exactly.