Interface ITriggerOnTaskBeginParams<TData>

    • Method Detail

      • getEventData

        IWorkflowEventData getEventData()
        Returns:
        The event data describing the event that occurred.
      • getEventDataAs

        default <T extends IWorkflowEventData> T getEventDataAs​(Class<T> type)
        Type Parameters:
        T - Desired type of the event data.
        Parameters:
        type - Desired type of the event data.
        Returns:
        The event data, cast to the given type, or null when the event data is not of the given type.
      • getTask

        WorkflowTask getTask()
        Returns:
        The task that is about to be executed.
      • getWorkflowContext

        IWorkflowExecutionContext getWorkflowContext()
        Returns:
        The workflow context of the current workflow execution. Use this context to access various system related features, such as accessing or modifying variables, replacing placeholders, retrieving / writing files, or sending HTTP responses.