Scrip ordering

I am extracting custom values from emails using
RT-Extension-ExtractCustomFieldValues and I want to use the value in the
next step to decide the format of the email sent to the users.

The transactions according to the logs are both firing in the correct
order in Transaction Create

I am accessing the cf using:

$Ticket->FirstCustomFieldValue(‘Priority’)

This works on another transaction but when chained together it doesn’t
have the value set.

Any help would be appreciated.

Bernard,

Are you using “TransactionBatch”?

Kenn
LBNLOn Wed, Feb 16, 2011 at 2:49 AM, Bernard McCormack bmccormack@nextjump.comwrote:

I am extracting custom values from emails using
RT-Extension-ExtractCustomFieldValues and I want to use the value in the
next step to decide the format of the email sent to the users.

The transactions according to the logs are both firing in the correct order
in Transaction Create

I am accessing the cf using:

$Ticket->FirstCustomFieldValue(‘Priority’)

This works on another transaction but when chained together it doesn’t have
the value set.

Any help would be appreciated.

Change condition for autoreply to custom. You need something close to “on
create and all required fields are set or on field change and all other
fields are set.”

Regards, Ruslan. From phone.

написал:

I tried transaction create with the descriptions set to define the
order, I tried transaction batch and I tried the read on transaction
create and then the displaying of the value in the transaction batch.
The value is getting set but it appears unset during the execution
chain.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kenneth
Crocker
Sent: Wednesday, February 16, 2011 12:18 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrip ordering

Bernard,

Are you using “TransactionBatch”?

Kenn
LBNL

Put extraction into transaction create stage and notification into
batch stage. This should work.On Thu, Feb 17, 2011 at 7:04 AM, Bernard McCormack bmccormack@nextjump.com wrote:

I tried transaction create with the descriptions set to define the order, I
tried transaction batch and I tried the read on transaction create and then
the displaying of the value in the transaction batch. The value is getting
set but it appears unset during the execution chain.

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kenneth
Crocker
Sent: Wednesday, February 16, 2011 12:18 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrip ordering

Bernard,

Are you using “TransactionBatch”?

Kenn
LBNL

On Wed, Feb 16, 2011 at 2:49 AM, Bernard McCormack bmccormack@nextjump.com wrote:

I am extracting custom values from emails using
RT-Extension-ExtractCustomFieldValues and I want to use the value in the
next step to decide the format of the email sent to the users.

The transactions according to the logs are both firing in the correct order
in Transaction Create

I am accessing the cf using:

$Ticket->FirstCustomFieldValue(‘Priority’)

This works on another transaction but when chained together it doesn’t have
the value set.

Any help would be appreciated.

Best regards, Ruslan.

Bernard,

We have some notifications that use templates that display CF info that is
being modified during the transaction. So, if the notification is just
displaying “Ticket” metadata that isn’t being modified by any other scrip,
we use TransCreate. Otherwise, we use TransBatch for all other scrips and
name them so that they execute in the desired order.

Hope this helps.

Kenn
LBNLOn Wed, Feb 16, 2011 at 8:04 PM, Bernard McCormack bmccormack@nextjump.comwrote:

I tried transaction create with the descriptions set to define the order, I
tried transaction batch and I tried the read on transaction create and then
the displaying of the value in the transaction batch. The value is getting
set but it appears unset during the execution chain.

From: rt-users-bounces@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Kenneth Crocker
Sent: Wednesday, February 16, 2011 12:18 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrip ordering

Bernard,

Are you using “TransactionBatch”?

Kenn
LBNL

On Wed, Feb 16, 2011 at 2:49 AM, Bernard McCormack < bmccormack@nextjump.com> wrote:

I am extracting custom values from emails using
RT-Extension-ExtractCustomFieldValues and I want to use the value in the
next step to decide the format of the email sent to the users.

The transactions according to the logs are both firing in the correct order
in Transaction Create

I am accessing the cf using:

$Ticket->FirstCustomFieldValue(‘Priority’)

This works on another transaction but when chained together it doesn’t have
the value set.

Any help would be appreciated.