[rt-users] Change AutoResponse Global Template based on time of the day

Kevin Falcone falcone at bestpractical.com
Mon Nov 3 17:03:40 EST 2014


On Mon, Oct 20, 2014 at 10:29:10AM -0400, rjandric via rt-users wrote:
> The screenshots seemed to be wrong in my last post, but here they are:
> <http://requesttracker.8502.n7.nabble.com/file/n58872/Screen_Shot_AfterHrs.png> 
> <http://requesttracker.8502.n7.nabble.com/file/n58872/Screen_Shot_Autoreply.png> 
> 
> Both Scrips are using the same condition with and one with 2 different
> templates chosen based on the condition, so it should be one or the other,
> but not both as in my test...

Custom conditions only run when your Condition is "User Defined"
Your condition is On Create, so your code is never run (you can see
this by adding RT->Logger->error("Running?"); commands to your code.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141103/48c5e9e0/attachment.sig>


More information about the rt-users mailing list