Passing variables to subprocess via callActivity

Hello,

I’m using flowable version 6.6.0. I am trying to pass all of my process variables to a subprocess. I understand that the way to do that is to add flowable:inheritVariables=“true” to the callActivity. I’m a little confused because that option is disabled in the process modeler and when I add it directly to the XML, I’m told its a schema violation. It does seem to work however. Am I missing something or might there be there a bug in the XSD perhaps?

Thanks,
Whitney

Hi Whitney,

An example from the tests flowable-engine/SubProcessTest.testInheritVariablesCallActivity_mainProcess.bpmn20.xml at 8eeae15534a61e6a43f891917aaeea196d27aa29 · flowable/flowable-engine · GitHub

Regards
Martin