Interface AgentTicketAnsweredClearanceRequiredEvent

All Superinterfaces:
AgentTicketClearanceRequiredEvent, Event, IncomingMessageInfo, IssueRoutingInfo, MessageInfo, OutgoingMessageInfo, TicketAnsweredEvent, TicketClearanceRequiredEvent, TicketEvent, TicketProvider, TicketRoutingInfo, TicketStateChangedEvent, UserProvider, UserTicketEvent

public interface AgentTicketAnsweredClearanceRequiredEvent extends TicketAnsweredEvent, AgentTicketClearanceRequiredEvent

This event is triggered when a ticket has been answered by an agent and now is waiting for clearance before being sent. The requirement of clearance can be applied by the agent, e.g. because of individual user configuration or explicitly desired by the agent for this ticked only, or also due to the category configuration requiring clearance.

Since:
12.0
  • Method Details

    • getSendingUser

      default Optional<User> getSendingUser()
      Description copied from interface: OutgoingMessageInfo
      Returns the user that sent the message.
      Specified by:
      getSendingUser in interface OutgoingMessageInfo
      Returns:
      an Optional containing the user that sent the message, or an empty Optional if the sender is an external address or the message was sent automatically
    • 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