Skip to content
← Back to Index

OnTicketRejected

This hook runs after a Ticket Actor has been rejected. validationError can be used to block a rejection.

Type

filtrera
{
  hook: 'OnTicketRejected'
  ticket: Ticket
}

Effects

messageActor Sends a message to another actor.
scheduleJob Schedules a job.
sendEmail Queues an email for delivery through the Sendings system.
validationError Aborts the rejection of the ticket and returns the error to the caller.
ticketCommand Applies a command to the ticket actor.

© 2024 Hantera AB. All rights reserved.