Class CreationWorkflowDefinition
Object
CreationWorkflowDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSteps()Retrieves a list of all steps in the given workflow.voidresetCurrentStepTo(int step) Switches the Creation Workflow to the specified step, ignores what the user clicked in the user interface.withSteps(CreationWorkflowStepDefinition... steps) Adds specified steps (must be already defined within the logic) to the Creation Workflow.
-
Constructor Details
-
CreationWorkflowDefinition
public CreationWorkflowDefinition()
-
-
Method Details
-
getSteps
Retrieves a list of all steps in the given workflow.- Returns:
- a list of
CreationWorkflowStepDefinitionobjects. - Since:
- 3.4.0 - Cuba Libre
- See Also:
-
withSteps
Adds specified steps (must be already defined within the logic) to the Creation Workflow.Example:
return api.newCreationWorkflow() .withSteps(step1, step2, step3)- Parameters:
steps- The list of steps (CreationWorkflowStepDefinition).- Returns:
- The
CreationWorkflowDefinitionobject with given steps. - Since:
- 3.4.0 - Cuba Libre
- See Also:
-
resetCurrentStepTo
public void resetCurrentStepTo(int step) Switches the Creation Workflow to the specified step, ignores what the user clicked in the user interface.- Parameters:
step- The number of a step you want to switch the Creation Workflow to.- Since:
- 3.4.5 - Cuba Libre PR5
- See Also:
-
getRequestedCurrentStep
-