Rule Hook
OnTicketBeforeDeleted
Back to IndexThis hook runs before a Ticket Actor is deleted. It can be used to perform tasks or even block deletion using a validationError
effect.
Type
{ hook: 'OnTicketBeforeDeleted' ticket: Ticket}
Effects
Sends a message to another actor after the ticket has been deleted. Responses from the target actor is ignored.messageActor
Aborts the deletion of the ticket and returns the error to the caller.validationError
Schedules a job.scheduleJob