How to Assign Workflow Comment to User

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Gold Boarder
Gold Boarder
Posts: 182
Joined: Fri Sep 05, 2014 6:24 pm

How to Assign Workflow Comment to User

Post by alexwgordon » Mon Nov 07, 2016 6:47 pm

Hi all,

I'm trying to automatically add a comment to a workflow while it's running and whenever I add the comment it is posted by "null". I'm using the code

Code: Select all

executionContext.getToken().addComment("Rev " + myrev + " approved.");
Anybody know how to assign a different user to the comment?


Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests