PublicAPI.Processes.WorkflowTaskBase.AddComment ELMA API Documentation
Add a comment to the process task
 
 
Syntax

public void AddComment(
	TaskBase task,
	string comment
)

Parameters

task
Type: TaskBase
Task, the comment is added to. Object. Access path: PublicAPI.Processes.WorkflowTaskBase
comment
Type: System String
Comment
Examples

//load necessary data 
//load the process task by ID 
var task = PublicAPI.Processes.WorkflowTaskBase.WorkflowTask.Load(3);
//comment to add 
var comment = "comment";

//add the comment
PublicAPI.Processes.WorkflowTaskBase.AddComment(task,comment);
See Also