Timeline for process Instance

We want to print the timeline of process Instance with users’s actions on each task for this process instance like following:

user | taskName | Operation | startTime | endTime | duration |

Camunda provide a lot of history APIs:
first api is: /history/user-operation

It retrieve the user’s action without task name:

second api: /history/activity-instance

It retrieve the task name without the user’s action on each task

Is there any way to achieve that?

I see 3 solutions:

  • You can do multple requests an collect data on your own, but it will be probably inefficient
  • You can make your own REST endpoint where you will use history service and return everything you want to have in response
  • You can history stream events and save the data you want to separate database (in case where you have e.g. history time to live like 7 days)

Be default I don’t see such possibility.