Class WaitTaskResumeResult

java.lang.Object
com.orchestranetworks.workflow.WaitTaskResumeResult

public final class WaitTaskResumeResult extends Object
Represents the result after resuming a wait task. After resuming a wait task, a WaitTaskResumeResult is returned to specify:
  • the workflow associated to the resumed wait task,
  • if the resuming has failed,
  • the error reason is the resuming has failed.
Since:
5.6.1
See Also:
  • Method Details

    • getProcessInstance

      public final ProcessInstance getProcessInstance()
      Returns the workflow associated with the resumed wait task.
    • hasFailed

      public final boolean hasFailed()
      Returns true if the resumption has failed.
      See Also:
    • getErrorReason

      public final WaitTaskResumeResult.ErrorReason getErrorReason()
      Returns the error reason if the resumption has failed.
      See Also: