OnTicketRejected
Back to IndexThis hook runs after a Ticket Actor has been rejected. validationError
can be used to block a rejection.
Type
Effects
Sends a message to another actor after the ticket has been saved. Responses from the target actor is ignored.effects.common.sendMessage
Aborts the rejection of the ticket and returns the error to the caller.effects.common.validationError
Applies a command to the actor. Replace effects.ticket.command.*
*
with the type of command you want to apply.