Interface WorkflowExecutionContext


public interface WorkflowExecutionContext
A contextual object providing information about the workflow execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the workflow event that activated the current workflow execution.
    Returns the next step to be executed in the workflow.
    Returns the id of the resource bound to the current workflow execution.
  • Method Details

    • getResourceId

      String getResourceId()
      Returns the id of the resource bound to the current workflow execution.
      Returns:
      the id of the resource
    • getEvent

      WorkflowEvent getEvent()
      Returns the workflow event that activated the current workflow execution. Can be null if the execution is being resumed from a scheduled step.
      Returns:
      the event bound to the current execution.
    • getNextStep

      WorkflowStep getNextStep()
      Returns the next step to be executed in the workflow.
      Returns:
      the next workflow step