PublicAPI.Projects.Project.CloseProject ELMA API Documentation
Close project (send to archive)
 
 
Syntax

public void CloseProject(
	Project project,
	WorkflowInstance currentInstance
)

Parameters

project
Type: Project
Project to close. Object. Access path: PublicAPI.Projects.Project
currentInstance
Type: WorkflowInstance
Current process, this method is invoked from. The current process will not be interrupted during the method execution.. Object. Access path: PublicAPI.Processes.WorkflowInstance
Examples

//load the project by ID 
var project = PublicAPI.Projects.Project.Load(3);

//close the project (send to archive)
PublicAPI.Projects.Project.CloseProject(project);
See Also