public void AddComment( WorkflowInstance instance, string comment )
Add a comment to the process
Syntax
public void AddComment( WorkflowInstance instance, string comment )
Parameters
- instance
- Type: WorkflowInstance
Process instance, the comment is added to. Object. Access path: PublicAPI.Processes.WorkflowInstance
- comment
- Type: System String
Comment
Examples
//load the process instance by ID var instance = PublicAPI.Processes.WorkflowInstance.Load(3); //added comment var comment = "Comment"; //add a comment PublicAPI.Processes.WorkflowInstance.AddComment(instance, comment);
See Also