Interface WorkflowCondition
public interface WorkflowCondition
Interface for implementing custom workflow conditions. WorkflowCondition provides the mechanism
for evaluating business rules and logic that determine when transitions should be available or
when conditional results should be executed.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(WorkflowExecutionContext context, Condition condition) Evaluates the condition against the provided attributes and returns whether the condition is satisfied.
-
Method Details
-
check
Evaluates the condition against the provided attributes and returns whether the condition is satisfied.- Parameters:
context- the execution contextcondition- the condition definition containing type, value, and arguments- Returns:
- true if the condition is satisfied, false otherwise
- Throws:
WorkflowException- if there's an error evaluating the condition
-