Conditional StartEvent

Hello,

We are using flowable os in an embedded setup. And we are trying to evaluate some properties before starting the process.

We found other engines supporting things like conditional start event and we wonder if this is also possible with flowable.

<startEvent id="conditionalStartEvent">
  <conditionalEventDefinition camunda:variableName="temperature">
    <condition type="tFormalExpression">${temperature > 20}</condition>
  </conditionalEventDefinition>
</startEvent>

If these evaluations are not possible, we need to do these checks before trying to start the process. What is also a valid solution for us.

Kind regards

Hey @thmarx,

On the engine level, Flowable does support conditional event. However, not as a start event of a regular process. It is supported for an Event Sub Process Start Event, Intermediate Catch Event and Boundary Event.

Are you sure that other engines support it on the top process level, and not an Event Sub Process?

In any case, Flowable has CMMN, which together with BPMN might be a better fit for what you need.

You can read Start Conditional Event not able to trigger - #2 by filiphr, which is related to what you are asking for.

With CMMN you can solve this by using a Process Task that has a Sentry with the expression ${temperature > 0}

Cheers,
Filip

Hey,

the camunda documentation has two separat sections for ConditionlStartEvents and CondionalStartEvents for sub processes. Though we thought that’s the case.

I will have a look at the information you provded.

Thank you.