Multiple start events are not authorized.
However how can we model 2 different starts, let’s say one start triggered by a message in a topic (through start message event) and another start triggered programmatically through a controller that receives a message?
I am thinking of calling startProcessInstanceByKey but then it will execute the whole flow and not only part of the flow (see screenshot, I want the second start to start from an intermediate step).
Is it possible?
In other words, I would need something like in Camunda where I can start programmatically at a specific task:
processEngine.getRuntimeService().createProcessInstanceByKey("twitter") .startBeforeActivity("service_task_publish_on_twitter") .setVariable("content", "Know how to circumvent the review!") .execute();
Thank you for your time.