Yes. The values are not returned which are assigned within the workflow. For cases with Business Exception, we can pass the values to the Exception variable as a Dictionary but for System Exceptions as it is not known/unexpected, we won’t be able to retrieve the values.
For a Business Exception case, we can do the below :
Hi! Sorry, I missed the part where it throws an exception. When an exception occurs, nothing is returned.
To get around you need to initialize the object first before Invoke workflow and then pass the object to the workflow. Inside the workflow, you can modify the object.
Initiate the dictionary before the Process workflow and pass it as In/Out argument. Then it will be passed correctly back even if there are exceptions.