Hello,
I get error message: Add Data Row: Object reference not set to an instance of an object.
When trying to pass argument from Process statement to Process Transaction.
On the exit statement from Process Transaction I’m using add row activity.
I’m using there Result, but for some reason he is saying that is not set to an instance of an object…
So here is the approach.
The arguments list that you see on the left is the ‘invoked workflow’s’ arguments.
Out-result should come ‘out’ from the child process into the ‘Main’ process so in the import or edit arguments section you have to change the direction to ‘out’ so that value is passed.
if variables are not initialized then that might also cause this error so check all xamls carefully.
Fine
change the direction here in the PROCESS XAML invoking INVOKE WORKFLOW FILE activity from IN to OUT
because the arguments been passed with value in PROCESS xaml if have to be used in outer xaml, it must be set with OUT direction so that the value of argument out_Result will be set to global variable Result
then we can use variable Result in the ADD DATA ROW activity in MAIN xaml inside the Process Transaction sequence