public void CompleteTask( ProjectTaskBase projectTask, string comment, bool alertCoexecuters )
Complete the task
Syntax
public void CompleteTask( ProjectTaskBase projectTask, string comment, bool alertCoexecuters )
Parameters
- projectTask
- Type: ProjectTaskBase
Project task to complete. Object. Access path: PublicAPI.Projects.ProjectTaskBase
- comment
- Type: System String
Comment
- alertCoexecuters
- Type: System Boolean
Notify coexecutors
Examples
//load the required data var projectTask = PublicAPI.Projects.Tasks.Load(3); //load the project task by ID var alertCoexecuters = true; //Notify coexecutors (yes or no) var comment = "Comment"; //Comment when completing a task //complete the task PublicAPI.Projects.Tasks.CompleteTask(projectTask, alertCoexecuters, comment);
See Also