# TransactionBatch Scrips are not shown in Ticket/Elements/PreviewScrips

Hi,

It seems that RT 4.0.1 has a bug in it, as I don’t see any previews of
the scrips sending mail in TransactionBatch state.

Just changing to TransactionCreate fixes the preview, but it causes
other problems. I’d like to include the ticket status after all the
transactions in the mail.

Would it be easily fixable to include TransactionBatch Scrips for the
preview?

Cheers,
Timo

It seems that RT 4.0.1 has a bug in it, as I don’t see any previews of
the scrips sending mail in TransactionBatch state.

This has been there long before 4.0.1

Just changing to TransactionCreate fixes the preview, but it causes
other problems. I’d like to include the ticket status after all the
transactions in the mail.

Would it be easily fixable to include TransactionBatch Scrips for the
preview?

This is a known failure of TransactionBatch scrips, and adding them
to PreviewScrips is quite a lot of effort.

-kevin

It seems that RT 4.0.1 has a bug in it, as I don’t see any previews of
the scrips sending mail in TransactionBatch state.

This has been there long before 4.0.1

Just changing to TransactionCreate fixes the preview, but it causes
other problems. I’d like to include the ticket status after all the
transactions in the mail.

Would it be easily fixable to include TransactionBatch Scrips for the
preview?

This is a known failure of TransactionBatch scrips, and adding them
to PreviewScrips is quite a lot of effort.

Would it be then possible to create identical TransactionCreate scrip
that triggers only for the preview? E.g. have TransactionCreate scrip be
visible in previews, and have the TransactionBatch scip do the actual work.

Though, this might be more a question for -users.

• Timo

It seems that RT 4.0.1 has a bug in it, as I don’t see any previews of
the scrips sending mail in TransactionBatch state.

This has been there long before 4.0.1

Just changing to TransactionCreate fixes the preview, but it causes
other problems. I’d like to include the ticket status after all the
transactions in the mail.

Would it be easily fixable to include TransactionBatch Scrips for the
preview?

This is a known failure of TransactionBatch scrips, and adding them
to PreviewScrips is quite a lot of effort.

Would it be then possible to create identical TransactionCreate scrip
that triggers only for the preview? E.g. have TransactionCreate scrip be
visible in previews, and have the TransactionBatch scip do the actual work.

In theory you could Prepare but not Commit in that TransactionCreate
scrip. Give it a shot and see what happens.

-kevin