The simplest way to pass something to a process called by a call activity that i found is the following:
- In subProcess define a property, for example a property with id set to "subProcessProperty"
- In superProcess
- define a property, for example a property with id set to "superProcessProperty"
- define a call activity with ioSpecification that has a dataInput with arbitrary id and name identical to id of subProcess property (i.e. subProcessProperty), then define a dataInputAssociation of call activity with source set to superProcessProperty and target set to dataInput's id
But I don't like very much this solution because in my opinion it isn't the best usage of the bpmn2.0 standard and details are hidden from the process's graph.
Francesco