So i’ve got a process workflow where a string argument is written. Then in some cases i use the Throw activity with a businessruleexception, to exit the process workflow and try the next transaction in the queue.
But before this i add a data table row with the string argument that comes out from the process.
However, if i use the Throw activity, the out argument string does not work, the value is empty when exiting into Main.
If i instead of Throw assign a variable with a businesserror and use a flow decision to check for the error and if True exit the process workflow, it works.
It seems like using Throw exits the workflow without bringing the arguments with it out.
Any thoughts on this? I like using Throw instead of having to check for businesserrors using a flow decision, but need the arguments to exit properly.
Let me know if i need to explain more or show example.