[rt-users] How to get the source of a Condition I want to modify

Ruslan U. Zakirov Ruslan.Zakirov at miet.ru
Tue Jun 7 07:03:03 EDT 2005


Tom Limoncelli wrote:
> I'm doing my first customization, so bear with me.
> I have a "Postmaster" queue, and would prefer that the "On Create  
> Autoreply To Requestors" global scrip would not autoreply to  postmaster 
> problems.  Ah, ha!  That exact problem is described here:
> 
>     http://wiki.bestpractical.com/index.cgi?WriteCustomCondition
> 
> So I go to Global -> Scripts -> select "On Create Autoreply To  
> Requestors with template AutoReply with PW assign" and see that the  
> current condition is "On Create".  I understand that I want to change  
> that to "User Defined".
> 
> Is there a way to see the "On Create" code so that I can copy it as  the 
> basis for my "User Defined" version?
/path/to/rt/lib/RT/Condition/...
but be aware that execution context of the UserDefined actions and 
conditions a little differs from context of the .pm actions and conditions.

See also WriteCustomAction on the wiki.

> 
> Thanks!
> 
> Tom
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 




More information about the rt-users mailing list