Rule Hook
OnTicketComplete
Back to IndexThis hook runs during the completion of a Ticket Actor. sendMessage
effects can be returned to cause side-effects in other actors. validationError
may be used to block completion of the ticket.
Type
{ hook: 'OnTicketComplete' ticket: Ticket}
Effects
Sends a message to another actor before ticket is completed. Errors will abort ticket completion.effects.common.sendMessage
Schedules a jobeffects.common.scheduleJob
Aborts the completion of the ticket and returns the error to the caller.effects.common.validationError