Interface WorkflowContext

All Known Subinterfaces:
ActionBasedWorkflowContext<M>, TimeBasedWorkflowContext

public interface WorkflowContext
Base for all flavors of workflow context.
  • Method Summary

    Modifier and Type Method Description
    PlatformUserContext getPlatformUserContext()
    Returns the user context within which the workflow is executing.
    void setRollbackOnly()
    Call this method to mark the current database transaction being used by the workflow for rollback.
  • Method Details

    • getPlatformUserContext

      PlatformUserContext getPlatformUserContext()
      Returns the user context within which the workflow is executing. For time-based workflows, this will be a value chain admin context.
    • setRollbackOnly

      void setRollbackOnly()
      Call this method to mark the current database transaction being used by the workflow for rollback.