Ever wondered how to pass values out of one process flow activity into another? The use of variables and activity parameter bindings is the key. In the example below process flows are used as the activities, the same applies for any activity with parameters.
In the image below, the process flow named MASTER has 2 child flows; CHILD and CHILD_1, an output parameter of the sub-flow CHILD is passed into the input parameter of another sub-flow CHILD_1. To do this, the output parameter must be stored in a local variable DATASTORE of the MASTER flow and this variable is then passed into the next activity as an input parameter.
Another common query is how to actually add variables and parameters in the first place. This is done by selecting the Variables node or START1 node in the selected objects panel, and clicking on the green plus button, not exactly intuitive, but that's how its done;
After the variable or parameter has been added, you can select it in the tree and change its properties in the Object Details panel. A couple of bits of info that its not obvious how they operate.