Chose Scrip order?

Is there any way to prioritize Scrips? Or perhaps someone
can suggest something else based on the following?

I’m doing something in Scrip 1 that may alter custom field X
(employee numbers).

Scrip 2 which is in place and working fine right now has the
job of looking up some employee details for every employee
number listed in field X, and storing those details in
field Y. It runs only when:

 Transaction type is Create
 OR
 Transaction field is "field X" (field X was changed)
 OR
 Someone modified field Y by hand (nobody is ever supposed
 to do this)

If I know Scrip 2 runs after Scrip 1, then I know custom field
Y will have the correct data because field X was up to date.

Is there any way to prioritize Scrips?
ScripExecOrder - Request Tracker Wiki

Is there any way to prioritize Scrips? Or perhaps someone
can suggest something else based on the following?

So, no? :slight_smile:

Jeff,

Alphabetically. For those with the same name/function, I put numbers in
front, like 1a or 1b. Also, be sure to set the stage to TransactionBatch.

Kenn
LBNLOn Tue, Sep 7, 2010 at 8:38 AM, Jeff Blaine jblaine@kickflop.net wrote:

On 9/1/2010 4:40 PM, Jeff Blaine wrote:

Is there any way to prioritize Scrips? Or perhaps someone
can suggest something else based on the following?

So, no? :slight_smile:

I’m doing something in Scrip 1 that may alter custom field X
(employee numbers).

Scrip 2 which is in place and working fine right now has the
job of looking up some employee details for every employee
number listed in field X, and storing those details in
field Y. It runs only when:

Transaction type is Create
OR
Transaction field is “field X” (field X was changed)
OR
Someone modified field Y by hand (nobody is ever supposed
to do this)

If I know Scrip 2 runs after Scrip 1, then I know custom field
Y will have the correct data because field X was up to date.

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!

Is there any way to prioritize Scrips? Or perhaps someone
can suggest something else based on the following?
So, no? :slight_smile:
If you did not receive this reply
[rt-users] Slow Ticket History 3.8.8
you should really consider tweaking your SPAM-filters, I think.