Enum Class WorkflowState

java.lang.Object
java.lang.Enum<WorkflowState>
com.mendix.workflows.WorkflowState
All Implemented Interfaces:
Serializable, Comparable<WorkflowState>, Constable

public enum WorkflowState extends Enum<WorkflowState>
Indicates the state of workflow.
  • Enum Constant Details

    • IN_PROGRESS

      public static final WorkflowState IN_PROGRESS
      Initial state.
    • COMPLETED

      public static final WorkflowState COMPLETED
      The terminal state indicates that the workflow is finished.
    • PAUSED

      public static final WorkflowState PAUSED
      The state after the admin pause the workflow. Unpausing brings it back to IN_PROGRESS.
    • ABORTED

      public static final WorkflowState ABORTED
      The state after the admin abort the workflow.
    • FAILED

      public static final WorkflowState FAILED
      The state after a failure occurred during execution of the workflow.
    • INCOMPATIBLE

      public static final WorkflowState INCOMPATIBLE
      The state after introducing incompatible new version of the workflow with the current one or workflow definition is deleted.
  • Method Details

    • values

      public static WorkflowState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorkflowState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Returns the string representation of the workflow state.
      Returns:
      the string representation of the workflow state