Throw out Argument along with Business Rule Exception

Hello!

I managed to pass out an argument using BusinessException.Data Dictionary.

In an Assign Activity try the following:

BusinessException.Data("variableName") = value

Once you set this, you can use Throw activity to throw an error and catch it with Try/Catch.
In the Catch block, you have access to the exception.Data(“variableName”) and you can send it as “in_Argument” to another workflow and use it for your logic.

2 Likes