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

public void CompleteTask(
	ProjectTaskBase projectTask,
	bool alertCoexecuters
)

Parameters

projectTask
Type: ProjectTaskBase
Project task to complete. Object. Access path: PublicAPI.Projects.ProjectTaskBase
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) 

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