Interface WorkflowInstanceFunction

All Superinterfaces:
WorkflowInstanceExtension

public interface WorkflowInstanceFunction extends WorkflowInstanceExtension
Interface for implementing custom workflow instance functions. WorkflowInstanceFunction provides a way to execute custom business logic during workflow instance execution, with access to the workflow instance context and function execution details.
Since:
1.0
See Also:
  • Method Details

    • execute

      void execute(WorkflowExecutionContext context, FunctionContext functionContext, Function function, Attributes args) throws WorkflowException
      Executes the custom function with the provided context and attributes.
      Parameters:
      context - the workflow instance context
      functionContext - the function execution context
      function - the function definition
      args - function arguments
      Throws:
      WorkflowException - if there's an error executing the function