'take' event

I was looking in the documentation and I found the ‘take’ event.

https://docs.camunda.org/javadoc/camunda-bpm-platform/7.5/org/camunda/bpm/engine/delegate/ExecutionListener.html#EVENTNAME_START

Along with the ‘start’ and ‘end’ event, there is a ‘take’ event. In the docs its mentioned the phrase ‘taking a transition’. But that feels more like a clue than like an explanation of how the event works.

Can anyone explain a little more about the event or provide an example of usage?

Thanks in advance,
Gonzalo.

1 Like

Hi @gcalvo,

take is the event to use when registering an execution listener with a sequence flow. The listener is called whenever the sequence flow is activated. In the docs on execution listeners, there is an XML example that registers a sequence flow listener: https://docs.camunda.org/manual/7.5/user-guide/process-engine/delegation-code/#execution-listener. However, it does not specify the event name which is not necessary since there is only one sequence flow event anyway.

Cheers,
Thorben

2 Likes

Thanks a lot for your answer, @thorben.

Cheers,
Gonzalo.