I'm trying to simulate a BPMN Call using the callActivity mechanism in EA.

I'm (eventually) trying to show how we can set up multiple scenarios to test the called process. Activity4 (a script activity) sets the scenario variables (as sim.<variable>). Activity5 is a dummy. Call GA1 is the callActivity which calls a BusinessProcess
Global Activity 1. As can be surmised, Activity4 will set sim.OK to either true or false and the appropriate path will be taken in
Global Activity 1. I have shown that if I make
Activity1 in
Global Activity 1 a script task and set the sim.OK value there, then
Global Activity 1 (GA1) will execute appropriately.
Firstly, is what I'm trying to do in BPMN valid? I can make the above scenario work with the called process a
normal subprocess of the calling activity. But that doesn't allow me to call the same global process for multiple scenarios (where the scenario variables change in the calling activity).
When I try and execute this diagram, only the
Global Activity 1 gets executed. I expected the sequence to be:
StartEvent1->Activity4->Activity5->StartEvent1(in GA1)->Activity1->Gateway->(chosen path)->Activity2 or Activity3->EndEvent1(in GA)->EndEvent1(which is the sequence when GA1 is a subprocess of the calling activity)
Instead, what happens is:
StartEvent1(in GA1)->Activity1->Gateway->(chosen path)->Activity2 or Activity3->EndEvent1(in GA)Call GA1 is a callActivity with calledActivityRef set to
Global Activity 1 Both are in the same package. Does the global process have to be in the same package?
Has anybody got BPMN simulation with callActivity working? Where should I look?
TIA,
Paolo