Interface RoutingWorkItemDecisionEventListener
public interface RoutingWorkItemDecisionEventListener
The
RoutingWorkItemDecisionEventListener is an interface that implements
the callback event functions for routing decisions triggered by the external
routing engine and handled by the novomind iAGENT system.
The RoutingWorkItemDecisionEventListener will be passed to each instance
of ExternalRoutingConnector during initialization and can only be used in
connection with an ExternalRoutingConnector.- Since:
- 11.29
-
Method Summary
Modifier and TypeMethodDescriptionvoidroutingWorkItemDecisionFailed(RoutingWorkItemDecisionFailedEvent routingWorkItemDecisionFailedEvent) Notifies the novomind iAGENT system of the failure of a previously started routing request.voidroutingWorkItemDecisionSuccessful(RoutingWorkItemDecisionSuccessfulEvent routingWorkItemDecisionSuccessfulEvent) Notifies the novomind iAGENT system of a successful routing decision by the external routing for a previously started routing request.
-
Method Details
-
routingWorkItemDecisionSuccessful
void routingWorkItemDecisionSuccessful(RoutingWorkItemDecisionSuccessfulEvent routingWorkItemDecisionSuccessfulEvent) Notifies the novomind iAGENT system of a successful routing decision by the external routing for a previously started routing request. As a consequence of this method call theRoutingWorkItemassociated with the event will be routed and delivered to the designated agent asynchronously by the novomind iAGENT system.- Parameters:
routingWorkItemDecisionSuccessfulEvent- provides all information about the successful routing decision of the external routing for aRoutingWorkItemto be fulfilled by the novomind iAGENT system further on- Since:
- 11.29
-
routingWorkItemDecisionFailed
void routingWorkItemDecisionFailed(RoutingWorkItemDecisionFailedEvent routingWorkItemDecisionFailedEvent) Notifies the novomind iAGENT system of the failure of a previously started routing request. As a consequence of this method call the novomind iAGENT system will start a new routing request for theRoutingWorkItemassociated with the event within a short period of time.- Parameters:
routingWorkItemDecisionFailedEvent- provides all information about the failed routing decision for theRoutingWorkItem- Since:
- 11.29
-