Enum Class WorkflowSubProcessState

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

public enum WorkflowSubProcessState extends Enum<WorkflowSubProcessState>
Representing the lifecycle states of a workflow sub-process.
  • Enum Constant Details

    • IN_PROGRESS

      public static final WorkflowSubProcessState IN_PROGRESS
      Sub-process has started and is currently running. Initial state.
    • ABORTED

      public static final WorkflowSubProcessState ABORTED
      Execution of the sub-process was terminated, either because the workflow was aborted or due to an interrupting event.
    • FAILED

      public static final WorkflowSubProcessState FAILED
      Execution ended unsuccessfully because at least one activity within the sub-process failed.
    • COMPLETED

      public static final WorkflowSubProcessState COMPLETED
      The sub-process reached its end event and finished successfully.
    • PAUSED

      public static final WorkflowSubProcessState PAUSED
      The sub-process was paused because the workflow was paused.
  • Method Details

    • values

      public static WorkflowSubProcessState[] 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 WorkflowSubProcessState 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 sub-process state.
      Returns:
      the string representation