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.WorkflowEngineAssembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 13.0.131
Syntax 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:
WorkflowStepInfoExceptions Exception | Condition |
---|
InvalidOperationException | Thrown if the current step is not persisted in database. |
See Also