Let me preface this with saying I’ve taken a look at every thread and the documentation on this topic, and I still cannot wrap my head around how arguments work in passing a variable from one sequence to another in a flowchart, and I haven’t been able to get what I need working properly. Global variables would be so much easier to understand, but I have to use arguments so I am trying. Anyhow, what I need to do is to be able to pass a “file path” variable that is used universally across all sequences in my flow chart. This thread comes closest to representing what I need:
In the first sequence, I used an assign activity for the file path, and assign it to an “out” argument called “out_storevalue”
I drop an “Invoke workflow” into the flow chart, and assign it to the 1st Sequence workflow.
If I “double-click” to view, I have the Out argument, and I assign “filepath” from the flowchart variable to it: This is the file path that I need to use as a variable in Sequence 2.
I drop Sequence 2 into the flow chart, and double-click to view arguments. I create an IN argument, and assign the flow chart variable “filepath”:
Now inside the workflow for Sequence 2 I just have a message box, with “in_str”:
When I run the whole thing, the message box is blank - It is not showing the file path value assigned from sequence 1. What am I missing here? I just don’t understand how to get this to work.