Page 1 of 1

How to Assign Workflow Comment to User

PostPosted:Mon Nov 07, 2016 6:47 pm
by alexwgordon
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?

Thanks!