Interface ExternalTicketAnsweredEvent
- All Superinterfaces:
Event,IncomingMessageInfo,IssueRoutingInfo,MessageInfo,OutgoingMessageInfo,TicketAnsweredEvent,TicketEvent,TicketProvider,TicketRoutingInfo,TicketStateChangedEvent
This event is triggered when a ticket has been answered by an external
clerk 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.
To take any action when the message has been sent successfully please refer
to the MessageSentEventListener
Please note that a ExternalTicketAnsweredEvent may be triggered
more than once.
- Since:
- 11.23
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.mail.internet.InternetAddressThis method returns the email address of the external sender that has sent the message to the central outgoing queue.default TicketStatedefault booleanThe method indicates if the message requires a clearance before being sent to the customer.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
getOutgoingMessage, getSendingUserMethods 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
getPreviousTicketState
-
Method Details
-
getExternalAddress
jakarta.mail.internet.InternetAddress getExternalAddress()This method returns the email address of the external sender that has sent the message to the central outgoing queue.- Returns:
- the email address of the external sender.
- Since:
- 11.23
-
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
-