I know the following REST API COMMENT topic was asked without a reply …
Author being ignored on Rest API Calls
process-api/history/historic-process-instances/[process instance id]/comments
“message”: “Comment message test”
Was wondering if there is a way via JAVA API calls to set the “author” of a comment that is linked to a process instance id
The userId is taken from Authentication.getAuthenticatedUserId(). Use the setter on Authentication to set the user Id before calling the addComment method on the TaskService.