Can't see rest api call actions in user action history list

Hi all,

I am currently looking for user action history for reporting every user action taken for tasks. If I claim a task from cockpit, I can get the user action by calling /history/user-operation bu if I claim a task by calling /task/{id}/claim, I can’t get this user action by calling /history/user-operation. Is this method only getting actions taken with Camunda cockpit? Is there any way to get user actions taken via rest calls?

Thanks

Hi @alimercetin

Operations are logged when the operation is performed in the context of a logged in user. To use the operation log, the process engine history level must be set to FULL .

identityService.setAuthenticatedUserId(userId);

Hi @aravindhrs

Thanks for the answer. We are using standalone version of Camunda and claiming task, completing task or other kind of operations will be realized via Rest calls. If operation log is only activated for logged in users than is there any alternative way to get logs of these operations realized via Rest calls?

Hi @alimercetin,

you can enable authentication for the Rest API as well: https://docs.camunda.org/manual/7.13/reference/rest/overview/authentication/

Hope this helps, Ingo