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: 8.2.23
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