If I have a process that defines three sub-processes, with one sub-process that is linked to an XOR gateway, and the other two sub-processes conditionally linked to the XOR, how can I make variables available from within the first sub-process to conditional expressions in the sequence flows that emerge from the XOR gateway?
I've been toying around in KIE Workbench and found that, while viewing the first sub-process properties in the context of the greater process, there is an output variable, which we have mapped to a model that we defined some of the properties of from within the sub-process.
So I'm wondering: - should the variables we defined in the model from within the sub-process still be available outside of the sub-process in the form of the output variable we defined? - if not, are globals a viable solution to this problem?