Interface PreSendExternalMessageAndCloseTicketEvent

All Superinterfaces:
CloseTicketEvent, Event, IncomingMessageInfo, MessageInfo, PreSendMessageAndCloseTicketEvent, PreSendMessageEvent, PreSendMessageTicketEvent, TicketEvent, TicketProvider

public interface PreSendExternalMessageAndCloseTicketEvent extends PreSendMessageAndCloseTicketEvent

This event is triggered when a message associated with a ticket has been answered by an external recipient and is about to be sent and the associated ticket is about to be closed within the novomind iAGENT core process.

Since:
11.3
  • Method Details

    • isFollowUp

      boolean isFollowUp()
      This method indicates whether this is the initial send and close operation on this ticket or if this is a follow up attempt to send the message e.g. due to a delivery failure.
      Returns:
      true if this is a follow up attempt to send the message
      Since:
      11.3
    • getTransactionCode

      Optional<TransactionCode> getTransactionCode()
      This method returns the optional TransactionCode that has been applied during the external forward operation of the ticket.
      Returns:
      the optional TransactionCode of the ticket.
      Since:
      11.3
    • getExternalAddress

      jakarta.mail.internet.InternetAddress getExternalAddress()
      This method returns the email address of the external recipient responsible for the ticket send and close operation.
      Returns:
      the email address of the external recipient.
      Since:
      11.3