Reduce number of compensate event subscription queries when a subprocess is completed

Description

When a subprocess is completed, we run a db query checking whether there are any compensate event subscriptions associated with the current scope. We do this, even if the subprocess contains no compensation events.

AT:

  • only query for compensate event subscriptions if the subprocess contains compensation events / handlers

Idea: The parser could set a property on the Subprocess-Activity which reflects whether the subprocess contains compensation.

Assignee

Daniel Meyer (camunda)

Reporter

Daniel Meyer (camunda)

Labels

None

Components

Fix versions

Priority

Major
Configure