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.
