Uses of Class
com.flowable.agent.engine.impl.guardrail.FlowableGuardrailViolationException
Packages that use FlowableGuardrailViolationException
-
Uses of FlowableGuardrailViolationException in com.flowable.agent.engine.impl.job
Methods in com.flowable.agent.engine.impl.job that return FlowableGuardrailViolationExceptionModifier and TypeMethodDescriptionAbstractAgentJobHandler.AgentJobHandlerResult.guardrailViolation()Returns the value of theguardrailViolationrecord component.Methods in com.flowable.agent.engine.impl.job with parameters of type FlowableGuardrailViolationExceptionModifier and TypeMethodDescriptionAbstractAgentJobHandler.handleGuardrailViolation(AgentInvocationContext agentInvocationContext, FlowableGuardrailViolationException ex, IntentEvaluationTrigger intentEvaluationTrigger, tools.jackson.databind.JsonNode jobConfiguration) Invoked when the agent invocation (which runs in the non-transactional phase of the job) raises a guardrail business error.AsyncAgentInvokeJobHandler.handleGuardrailViolation(AgentInvocationContext agentInvocationContext, FlowableGuardrailViolationException ex, IntentEvaluationTrigger intentEvaluationTrigger, tools.jackson.databind.JsonNode jobConfiguration) protected voidAsyncAgentInvokeJobHandler.propagateGuardrailViolationToCallback(AgentInstanceEntity agentInstance, FlowableGuardrailViolationException ex, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Routes a guardrail business error raised by the asynchronous agent invocation to the waiting process/case, so it can be caught by a BPMN error boundary event or a CMMN fault sentry (mirroring what happens synchronously).Constructors in com.flowable.agent.engine.impl.job with parameters of type FlowableGuardrailViolationExceptionModifierConstructorDescriptionAgentJobHandlerResult(AgentInvocationContext invocationContext, AgentInvocationResultResponse resultResponse, IntentEvaluationTrigger intentEvaluationTrigger, tools.jackson.databind.JsonNode jobConfiguration, FlowableGuardrailViolationException guardrailViolation) Creates an instance of aAgentJobHandlerResultrecord class. -
Uses of FlowableGuardrailViolationException in com.flowable.agent.engine.impl.util
Methods in com.flowable.agent.engine.impl.util with parameters of type FlowableGuardrailViolationExceptionModifier and TypeMethodDescriptionstatic voidAgentUtil.persistGuardrailViolationExchanges(AgentEngineConfiguration engineConfiguration, AgentInvocationContext agentInvocationContext, FlowableGuardrailViolationException ex) Persists the guardrail exchanges that were recorded on aFlowableGuardrailViolationExceptionbefore it is (re)thrown.