[rt-users] Pre -scrips

Stephen Turner sturner at MIT.EDU
Thu Dec 1 14:44:17 EST 2005


At Thursday 12/1/2005 02:18 PM, Eric Horne wrote:
>I couldn't find anything on this on the web. Can WebRT prevent a 
>transaction from occurring using a scrip?
>
>For example, I'd like to prevent resolution on a ticket if a certain 
>custom field has not been filled out correctly. Or maybe I'd like to 
>prevent resolution of a ticket that is not currently in the open state.
>
>I can write the scrips to do this, but I can't figure out how to tell wiki 
>to ignore the transaction that launched the scrip in the first place.

No, you can't do that. Perhaps you could make the On Resolve scrip set the 
status back to its old value if the field hasn't been filled out correctly?

Steve 




More information about the rt-users mailing list