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.InternetAddress
This method returns the email address of the external sender that has sent the message to the central outgoing queue.default TicketState
default boolean
The 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
getEventDate
Methods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessage
Methods inherited from interface com.novomind.ecom.api.imail.model.IssueRoutingInfo
getCurrentAssignedAgent, getExpectedWaitTime, getLastAssignedAgent, getNumberOfAvailableAgents, getRoutingDuration, getWaitingPosition
Methods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketId
Methods inherited from interface com.novomind.ecom.api.imail.model.OutgoingMessageInfo
getOutgoingMessage, getSendingUser
Methods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicket
Methods inherited from interface com.novomind.ecom.api.imail.model.TicketRoutingInfo
getDueDateOptional
Methods 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:
getTicketState
in interfaceTicketStateChangedEvent
- Returns:
- the new
TicketState
of the ticket after the state change
-
isClearanceRequired
default boolean isClearanceRequired()Description copied from interface:TicketAnsweredEvent
The method indicates if the message requires a clearance before being sent to the customer.- Specified by:
isClearanceRequired
in interfaceTicketAnsweredEvent
- Returns:
- true if a clearance is required for this message, otherwise false
-