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 Detail

      • 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 the RoutingWorkItem associated 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 a RoutingWorkItem to 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 the RoutingWorkItem associated with the event within a short period of time.
        Parameters:
        routingWorkItemDecisionFailedEvent - provides all information about the failed routing decision for the RoutingWorkItem
        Since:
        11.29