Click or drag to resize
WorkflowManagerArchiveDocument Method
Archives the document, returns the last step info.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public WorkflowStepInfo ArchiveDocument(
	TreeNode node,
	string comment = null,
	WorkflowTransitionTypeEnum transitionType = WorkflowTransitionTypeEnum.Manual
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document to archive
comment (Optional)
Type: SystemString
Version comment
transitionType (Optional)
Type: CMS.WorkflowEngineWorkflowTransitionTypeEnum
Transition type

Return Value

Type: WorkflowStepInfo
See Also