You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need to add comments for the createhistory function in groovy

Summary:

Hello 

We are executing below script for setting a user status and assigning an user using groovy on the Contract event model - entry step.

UserStatusCode='YYYY-REVIEW';

AssigneeId = XXXXXXXXX;

AssigneeType = 'OKX_RESOURCE';

eventModel.execute('createHistory');

I need to also add comments in the history-audit record when when its created. Say for eg , Approved by user-ABC , Dept : ZZZZZ.

Let me know what are the parameters to use for the createhistory function to achieve the above.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!