Return Data Table Argument if error occurs

Hi,

I have a question for returning argument in Main and Sub flows.

I created a totaldt (in/out data table argument) variable in sub flow. I think the totaldt should not be passes to Main flow when error occurs. But when i debug the script, totaldt returned to Main flow, you can see below yellow highlighted lines for reference.

image

I also attached the files here. Thanks in advance for your help!!!
test.zip (23.5 KB)

Hi,

I suppose it’s caused the argument is passed by reference.
If you want to abort it, check isolate option in Invoke Workflow file activity. It will behave like passing by value.

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.