Hello,
Does anyone know of a way to prioritize which scrips get run first? I’m
having a problem with a scrip that relies on another scrip which sets a
custom field value. We’ll call the scrips scrip A and scrip B. Scrip B
relies on scrip A, but scrip B is getting processed first so the data it
needs from scrip A does not exist yet. So I was wondering if there was a
way to prioritize the scrips or perhaps someone knows a different work
around?
Thanks in advance,
Greg Curiel
View this message in context: http://old.nabble.com/Prioritizing-Scrips-tp29219689p29219689.html
Dne 20.7.2010 23:12, Greg Curiel napsal(a):
Hello,
Does anyone know of a way to prioritize which scrips get run first? I’m
having a problem with a scrip that relies on another scrip which sets a
custom field value. We’ll call the scrips scrip A and scrip B. Scrip B
relies on scrip A, but scrip B is getting processed first so the data it
needs from scrip A does not exist yet. So I was wondering if there was a
way to prioritize the scrips or perhaps someone knows a different work
around?
Thanks in advance,
Greg Curiel
Hi Greg,
scrips should be execued in alphabetical order (at least in version
3.6 I think). For example scrips in our RT instance have four digit
prefix to specify execution order.
Martin
Mgr. Martin Drasar drasar@ics.muni.cz
CSIRT-MU, Network Security Department http://www.muni.cz/csirt
Institute of Computer Science, Masaryk University, Brno, Czech Republic
PGP Key ID: 0x944BC925
Greg,
Hopefully, you remembered to enable “TransactionBatch” and set your stage to
that.
Kenn
LBNLOn Tue, Jul 20, 2010 at 2:12 PM, Greg Curiel gcuriel@purdue.edu wrote:
Hello,
Does anyone know of a way to prioritize which scrips get run first? I’m
having a problem with a scrip that relies on another scrip which sets a
custom field value. We’ll call the scrips scrip A and scrip B. Scrip B
relies on scrip A, but scrip B is getting processed first so the data it
needs from scrip A does not exist yet. So I was wondering if there was a
way to prioritize the scrips or perhaps someone knows a different work
around?
Thanks in advance,
Greg Curiel
View this message in context:
http://old.nabble.com/Prioritizing-Scrips-tp29219689p29219689.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
Hi,
Thanks for the replies. The advise and suggestions worked. Now I’m having
problems calling a Java jar from my scrip in RT. I’ve tried using the
system and open functions, but have had no luck. Does anyone know of a way
to call the Java jar from RT?
Thanks,
Greg Curiel
View this message in context: http://old.nabble.com/Prioritizing-Scrips-tp29219689p29239189.html
Thanks for the replies. The advise and suggestions worked. Now I’m having
problems calling a Java jar from my scrip in RT. I’ve tried using the
system and open functions, but have had no luck. Does anyone know of a way
to call the Java jar from RT?
Seems like a really bad idea to me, but if you want to go down that
road I’d look into Inline::Java
Cambridge Energy Alliance: Save money. Save the planet.