I would like to retrieve an audit log of a completed process instance via one or more REST API calls. The audit log shall look like the one shown in Cockpit (i.e. include the same information such as the State, the Activity, the Start and End Time, and the Activity Instance ID).
I tried following operations:
- /history/process-instance/ to get the start and end time of the process instance
- /history/task=processInstanceId to get the manual task
- /history/job-log to get the service task
- /history/detail to get the process variables and their values
However, I don’t know how to get all events and gateways for the corresponding process instance.
Is there perhaps an easier way to get the log information?