Interface WorkflowInstanceCondition

All Superinterfaces:
WorkflowInstanceExtension

public interface WorkflowInstanceCondition extends WorkflowInstanceExtension
Interface for implementing custom workflow instance conditions. WorkflowInstanceCondition provides a way to evaluate custom conditions during workflow instance execution, with access to the workflow instance context and condition details.
Since:
1.0
See Also:
  • Method Details

    • check

      boolean check(WorkflowExecutionContext context, Condition condition, Attributes args) throws WorkflowException
      Checks if the condition is satisfied given the current context and attributes.
      Parameters:
      context - the workflow execution context
      condition - the condition to evaluate
      args - the args the condition is configured with
      Returns:
      true if the condition is satisfied, false otherwise
      Throws:
      WorkflowException - if there's an error evaluating the condition