Skip to content
← Back to Index

OnTicketBeforeDeleted

This hook runs before a Ticket Actor is deleted. It can be used to perform tasks or even block deletion using a validationError effect.

Type

filtrera
{
  hook: 'OnTicketBeforeDeleted'
  ticket: Ticket
}

Effects

[`messageActor`](/resources/components/runtimes/rule-effects/messageActor) Sends a message to another actor after the ticket has been deleted. Responses from the target actor is ignored.
[`validationError`](/resources/components/runtimes/rule-effects/validationError) Aborts the deletion of the ticket and returns the error to the caller.
[`scheduleJob`](/resources/components/runtimes/rule-effects/scheduleJob) Schedules a job.

© 2024 Hantera AB. All rights reserved.