Click or drag to resize
WorkflowManager.MoveToSpecificStep Method (TreeNode, WorkflowStepInfo, String, WorkflowTransitionTypeEnum)
Moves the specified node to the specified step in the workflow and returns workflow step.

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

Parameters

node
Type: CMS.DocumentEngine.TreeNode
Node to process
step
Type: CMS.WorkflowEngine.WorkflowStepInfo
Step to which should be specified document moved
comment (Optional)
Type: System.String
Action comment
transitionType (Optional)
Type: CMS.WorkflowEngine.WorkflowTransitionTypeEnum
Type of transition

Return Value

Type: WorkflowStepInfo
Remarks
The return step can be different than the original given step.
See Also