Interface WorkflowFunction


public interface WorkflowFunction
Interface for implementing custom workflow functions. WorkflowFunction provides the mechanism for executing business logic during workflow transitions, including pre-functions, post-functions, and state processing functions.
Since:
1.0
See Also:
  • Method Details

    • execute

      void execute(WorkflowExecutionContext context, FunctionContext functionContext, Function function) throws WorkflowException
      Executes the function with the provided context and attributes.
      Parameters:
      context - the execution context
      functionContext - the context in which the function is being executed
      function - the function definition containing type, value, and arguments
      Throws:
      WorkflowException - if there's an error executing the function