AnsweredAssumed Answered

Start Process Instance Conditionaly

Question asked by bolashokry on Jan 18, 2015
Latest reply on Jan 19, 2015 by bolashokry
Hi there,

I wonder if there is a way to start process instance based on evaluating some conditions in xml.
I don't want to evaluate these conditions in java code, but in xml … for example:

I want to call:
runtimeService.startProcessInstanceByMessage("startingMessage", myVariables);

And write some expressions in <i>mymodel.bpmn20.xml</i> evaluates some expressions based on the passed <i>myVariables</i> and decide if the process instance should start or not.

Is there something in Activiti does this, or any workarounds.

Regards,
Bola

Outcomes