Interface ExternalTicketAnsweredEvent

All Superinterfaces:
Event, IncomingMessageInfo, IssueRoutingInfo, MessageInfo, OutgoingMessageInfo, TicketAnsweredEvent, TicketEvent, TicketProvider, TicketRoutingInfo, TicketStateChangedEvent

public interface ExternalTicketAnsweredEvent extends TicketAnsweredEvent

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 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

      default TicketState getTicketState()
      Specified by:
      getTicketState in interface TicketStateChangedEvent
      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 interface TicketAnsweredEvent
      Returns:
      true if a clearance is required for this message, otherwise false