public void CompleteTask( ProjectTask projectTask, string comment, bool alertCoexecuters )
Complete the task
Syntax
public void CompleteTask( ProjectTask projectTask, string comment, bool alertCoexecuters )
Parameters
- projectTask
- Type: ProjectTask
Project task, which needs to be completed. Object. Access path: PublicAPI.Projects.ProjectTask
- comment
- Type: System String
Comment
- alertCoexecuters
- Type: System Boolean
Notify coexecutors
Examples
//load the necessary data var projectTask = PublicAPI.Projects.ProjectTask.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.ProjectTask.CompleteTask(projectTask, alertCoexecuters, comment);
See Also