• How to Assign Workflow Comment to User

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #50302  by duyvh0309
 
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
Anybody know how to assign a different user to the comment?

executionContext.getToken().addComment("Rev " + myrev + " approved.");

Thanks!
 #50547  by pushtmp
 
duyvh0309 wrote: Mon Jul 27, 2020 10:01 am 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
Anybody know how to assign a different user to the comment?

executionContext.getToken().addComment("Rev " + myrev + " approved.");

Thanks!
Hi buddy, use note, that will be better way to avoid errors.

Regards,
Joshua Genin

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.