Click or drag to resize
WorkflowStepInfoDuplicate Method
Duplicates the current step, positions the clone on the specified position (positionX, positionY) in StepDefinition, and saves the clone to the database.

Namespace: CMS.WorkflowEngine
Assembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 13.0.131
Syntax
C#
public WorkflowStepInfo Duplicate(
	int positionX,
	int positionY
)

Parameters

positionX
Type: SystemInt32
The x-coordinate that will be set to clone.
positionY
Type: SystemInt32
The y-coordinate that will be set to clone.

Return Value

Type: WorkflowStepInfo
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the current step is not persisted in database.
See Also