Return error message in Scrip

Hi list,

I try to program a little scrip that checks if priority numbers
are unique within a queue and therefore I try to return an error
message from a Scrip that should avoid RT from updating the
ticket and displaying an error message on the screen.

All my googling, code grepping and wiki / mailing list searching
and try and error cycles failed so far so please can someone
give me a hint on how to return an error from a Scrip?

Thanks in advance & have a nice day

Basti

Bastian Ballmann

PATRONAS Financial Systems GmbH
Schnewlinstr 4
79098 Freiburg

fon +49 (0)761 400688-19
fax +49 (0)761 400688-50

ballmann@patronas.de

Amtsgericht Freiburg, HRB 7212
Geschᅵftsfᅵhrung: Heribert Steuer, Carsten Osswald

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Bastian,

I have tried this numerous times with various types of messages and got
“no joy”. I may be corrected on this, but the info I got back was it is
NOT possible to display error messages to an RT screen via a scrip.
That’s too bad cause one would think that it /should/ be possible as a
/logical extension/ of the thought process that allowed for writing
scrips to check for things in the first place. But, Oh well. Maybe in
some future version. Good Luck.

Kenn
LBNLOn 10/29/2009 6:19 AM, Bastian Ballmann wrote:

Hi list,

I try to program a little scrip that checks if priority numbers
are unique within a queue and therefore I try to return an error
message from a Scrip that should avoid RT from updating the
ticket and displaying an error message on the screen.

All my googling, code grepping and wiki / mailing list searching
and try and error cycles failed so far so please can someone
give me a hint on how to return an error from a Scrip?

Thanks in advance & have a nice day

Basti