PublicAPI.Projects.ProjectTask.CompleteTask ELMA API Documentation
Complete the task
 
 
Syntax

public void CompleteTask(
	ProjectTask projectTask,
	bool alertCoexecuters
)

Parameters

projectTask
Type: ProjectTask
Project task, which needs to be completed. Object. Access path: PublicAPI.Projects.ProjectTask
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) 

//complete the task
PublicAPI.Projects.ProjectTask.CompleteTask(projectTask,alertCoexecuters);
See Also