[rt-users] Notifications are sent before status and custom field changes are applied?

Thomas Sibley trs at bestpractical.com
Wed Jul 24 12:49:37 EDT 2013

On 07/23/2013 12:56 AM, Craig Ringer wrote:
> Do any of the other RT users here know of a reason *not* to use
> TransactionBatch for sending email notifications?

Be wary of $self->TransactionObj in TransactionBatch scrips; it isn't
guaranteed to be the transaction that matched the scrip condition but
merely the first transaction in the batch.

You can use $self->TicketObj->TransactionBatch to get an arrayref of
transaction objects.

More information about the rt-users mailing list