Interface AgentTicketAnsweredEvent
- All Superinterfaces:
Event,IncomingMessageInfo,IssueRoutingInfo,MessageInfo,OutgoingMessageInfo,TicketAnsweredEvent,TicketEvent,TicketProvider,TicketRoutingInfo,TicketStateChangedEvent,UserProvider,UserTicketEvent
This event is triggered when a ticket has been answered by an agent
and now is waiting to be sent to the customer in the next step.
At this time the ticket usually is not closed yet. The ticket will be closed when
the message has been sent successfully by the novomind iAGENT core process and
if the message is the final answer to the customer and not an intermediate reply only.
(In case of an automatic intermediate reply the state of the ticket does not change)
To take any action when the message has been sent successfully please refer
to the MessageSentEventListener
Please note that a AgentTicketAnsweredEvent may be triggered more
than once. In case of subsequent intermediate replies or in case of a required
clearance the agent may apply changes to the message and send the modified message again.
- Since:
- 11.23
-
Method Summary
Modifier and TypeMethodDescriptiondefault TicketStatedefault booleanThe method indicates if the message requires a clearance before being sent to the customer.booleanThe method indicates if the answer sent by the agent is an intermediate reply.Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDateMethods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessageMethods inherited from interface com.novomind.ecom.api.imail.model.IssueRoutingInfo
getCurrentAssignedAgent, getExpectedWaitTime, getLastAssignedAgent, getNumberOfAvailableAgents, getRoutingDuration, getWaitingPositionMethods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketIdMethods inherited from interface com.novomind.ecom.api.imail.model.OutgoingMessageInfo
getOutgoingMessageMethods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicketMethods inherited from interface com.novomind.ecom.api.imail.model.TicketRoutingInfo
getDueDateOptionalMethods inherited from interface com.novomind.ecom.api.imail.common.event.TicketStateChangedEvent
getPreviousTicketStateMethods inherited from interface com.novomind.ecom.api.iagent.provider.UserProvider
getUser
-
Method Details
-
isIntermediateReply
boolean isIntermediateReply()The method indicates if the answer sent by the agent is an intermediate reply.- Returns:
- true if the message is an intermediate reply, otherwise false
- Since:
- 11.23
-
getSendingUser
- Specified by:
getSendingUserin interfaceOutgoingMessageInfo- Returns:
- the user, that sent the message. If the sender of the message is an external address or has been sent automatically, the user will not be available.
-
getTicketState
- Specified by:
getTicketStatein interfaceTicketStateChangedEvent- Returns:
- the new
TicketStateof the ticket after the state change
-
isClearanceRequired
default boolean isClearanceRequired()Description copied from interface:TicketAnsweredEventThe method indicates if the message requires a clearance before being sent to the customer.- Specified by:
isClearanceRequiredin interfaceTicketAnsweredEvent- Returns:
- true if a clearance is required for this message, otherwise false
-