Click or drag to resize
WorkflowManager.MoveToSpecificStepInternal Method (TreeNode, WorkflowStepInfo, String, Boolean, WorkflowTransitionTypeEnum, WorkflowActionEnum)
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: 12.0.0
Syntax
C#
protected virtual WorkflowStepInfo MoveToSpecificStepInternal(
	TreeNode node,
	WorkflowStepInfo step,
	string comment,
	bool increasePublishVersionNumber,
	WorkflowTransitionTypeEnum transitionType,
	WorkflowActionEnum action
)

Parameters

node
Type: CMS.DocumentEngine.TreeNode
Node to process
step
Type: CMS.WorkflowEngine.WorkflowStepInfo
Step to which should be specified document moved
comment
Type: System.String
Action comment
increasePublishVersionNumber
Type: System.Boolean
Indicates if the publish version number should be increased
transitionType
Type: CMS.WorkflowEngine.WorkflowTransitionTypeEnum
Type of transition
action
Type: CMS.WorkflowEngine.WorkflowActionEnum
Action context

Return Value

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