-
Sub-task
-
Resolution: Done
-
L3 - Default
-
None
As part of https://jira.camunda.com/browse/OPT-3188 and https://jira.camunda.com/browse/OPT-3189, we are writing completed activities from the engine to a new index/indices. After this, there will be further processing on these indices in order for us to be able to create instances/events for a given event-based process that uses engine definition camunda events. Given this potentially expensive series of operations, we should avoid writing to this activity index for both completed instances and activities unless the event based process feature is enabled. This will avoid a lot of unnecessary work on our end, but will also mean that users will need to trigger a reimport if they ever wish to switch the feature from being disabled to enabled.
AT:
- We don't store completed activities in the activity index if the event based process feature is disabled
- We don't store start/end events based on completed process instances in the activity index if the event based process feature is disabled