PublicAPI.Docflow.Tasks.SendToResolution ELMA API Documentation
Send Document for consideration
 
 
Syntax

public ResolutionTask SendToResolution(
	Document document,
	User executor,
	string description,
	DateTime endDate
)

Parameters

document
Type: Document
Document, sent for consideration. Object. Access path: PublicAPI.Docflow.Document
executor
Type: User
Consideration task executor. Object. Access path: PublicAPI.Portal.Security.User
description
Type: System String
Desicion description
endDate
Type: System DateTime
End Date

Return Value

Type: ResolutionTask
Document Consideration Task
Remarks

Only a registered document can be sent for consideration. See how to register a document in тут
Examples

//load the document by ID 
var document = PublicAPI.Docflow.Document.Load(3);
//load the user by ID 
var executor = PublicAPI.Portal.Security.User.Load(3);
//decision description 
var description = "Description";
//consideration task end date 
var endDate = DateTime.Now.AddDays(1);

//send the document for consideration 
var resolutionTask = PublicAPI.Docflow.Tasks.SendToResolution(document, executor, description, endDate);

//resolutionTask - created document consideration task
See Also