[rt-users] Scrip questions

Jesse Vincent jesse at bestpractical.com
Thu Apr 14 15:10:47 EDT 2005


Stephen Turner wrote:
> A couple of questions about scrips:
>
> - is it possible to write a scrip with a 'user-defined' action that
> sends mail? I'd like to write a scrip that autoreplies to requestors and
> also updates a custom field on the ticket.

Hm. not trivially. But. as a horrible, horrible hack, you can stick code
to do it in the html template that's being sent.

> - is the order in which scrips execute predictable? So if I want scrip G
> to be dependent on something that scrip F does, can I ensure that G will
> always execute after F?

Not currently. That _will_ be true after the planned scrips rewrite.


> Thanks,Steve
>
>
> Stephen Turner
> Senior Programmer/Analyst - Client Support Services
> MIT Information Services and Technology (IS&T)
>
> sturner at mit.edu
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Administrator and Developer training is coming to your town soon!
> (Boston, San Francisco, Austin, Sydney) Contact
> training at bestpractical.com for details.
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050414/9fe84c9c/attachment.sig>


More information about the rt-users mailing list