Any docs about Zeebe Intent?

Got confused when analysing zeebe-record-* data in Elasticsearch. Sames every record has field Intent. For example, workflow instance has following intents:

  CANCEL((short) 0, false),

  SEQUENCE_FLOW_TAKEN((short) 1),

  ELEMENT_ACTIVATING((short) 2),
  ELEMENT_ACTIVATED((short) 3),
  ELEMENT_COMPLETING((short) 4),
  ELEMENT_COMPLETED((short) 5),
  ELEMENT_TERMINATING((short) 6),
  ELEMENT_TERMINATED((short) 7),

  EVENT_OCCURRED((short) 8);

What do these intents mean? When and how one intent transfer to another? Tried to find docs and read code comments, but got no releated information.

Though, we can guess the meaning by name. But we don’t know the sequence. Appreciate for more explaination!

I think you can find answers in Workflow Lifecycles description:
https://docs.zeebe.io/reference/workflow-lifecycles.html

3 Likes

Thanks for reply. Yes, it’s exactly what I want.

1 Like