BPMN conditions (on gateway) reusing a defined condition


#1

Hello,
Just getting started on Camunda and I’d like to ask -

  1. Is there a way to define a condition and reused it ? In case the condition is a complicated one - comparing a few fields, and this is used in a few places along the diagram. is there any way to reuse ?

  2. part of the process that we are looking at is when all the steps are done we are waiting to the due date…
    what would be the right way to implement this - timer with an interval of due date - today ?
    one more detail - this date can get updated… while we are waiting …

Many thanks,
Chani


#2

If you want you could use element templates which could store a template of the sequence flow.

Your timer event could be updated by using an event based gateway as follows:
https://cawemo.com/shares/9a0b5e60-f1f6-430b-b69c-1d7f8608b3cf