Retrieve activation time of case activities

I would like to dynamically calculate the time that has passed since a case activity has been (manually) activated. I was hoping to retrieve the information via the REST-API at /history/case-activity-instance but only the createTime and endTime is included per activity.

My Second idea was to query at /history/detail but there doesn’t seem to be a detail referring to the activation and deactivation of activities.

Is there any other way to retrieve a log of lifecycle events of case activity instances?

Hi @bentrm,

I think we do not provide such a feature yet. You could write a custom log of these times by adding a caseExecutionListener to the plan items of interest and listen for the manualStart event.

If you would like to contribute this feature to the core engine, please let us know and we are happy to assist you. Find an introduction to contributing on camunda.org.

Cheers,
Thorben