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 Summary
Modifier and TypeMethodDescriptionvoidexecute(WorkflowExecutionContext context, FunctionContext functionContext, Function function) Executes the function with the provided context and attributes.
-
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 contextfunctionContext- the context in which the function is being executedfunction- the function definition containing type, value, and arguments- Throws:
WorkflowException- if there's an error executing the function
-