Interface WorkflowSteps

All Known Implementing Classes:
WorkflowStepsImpl

public interface WorkflowSteps
Represents the 'Workflow steps' page functionality
Since:
v4.3
  • Method Details

    • editTransition

      WorkflowTransition editTransition(int stepId, int transitionId)
      Edit transition with given transitionId for step with given stepId.
      Parameters:
      stepId - ID of the step
      transitionId - ID of the transition
      Returns:
      workflow transition functionality representation
    • add

      WorkflowSteps add(String stepName, String linkedStatus)
      Adds a step the current workflow.
      Parameters:
      stepName - The name of the step.
      linkedStatus - The status to be linked to this step.
      Returns:
      this instance of the workflow steps page.
    • addTransition

      WorkflowSteps addTransition(String stepName, String transitionName, String transitionDescription, String destinationStep, String transitionFieldScreen)
      Adds a transition to the current workflow
      Parameters:
      stepName - The origin workflow step for this transition.
      transitionName - The name of the transition to add.
      transitionDescription - A description for the transition to add.
      destinationStep - The destination step for this transition.
      transitionFieldScreen - The screen to display.
      Returns:
      this instance of the workflow steps page.
    • deleteStep

      WorkflowSteps deleteStep(String stepName)
      Deletes a step from the workflow
      Parameters:
      stepName - The step name to delete.
      Returns:
      this instance of the workflow steps page.
    • deleteTransition

      WorkflowSteps deleteTransition(String stepName, String transitionName)
      Deletes a transition from a specified step.
      Parameters:
      stepName - the step name
      transitionName - the transition name
      Returns:
      this instance of the workflow steps page.