alert stage 1
if (((severity.code in $file)#"1" or (severity.code in $file)#"2") and open.time in $file+val('00:30:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('00:30:00', 3));if ((severity.code in $file)#"3" and open.time in $file+val('1 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('1 00:00:00', 3));if ((severity.code in $file)#"4" and open.time in $file+val('1 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('1 00:00:00', 3));if (severity.code in $file)#"99" then (header,alert.time in $file=NULL)
alert stage 2
if ((severity.code in $file)#"1" or (severity.code in $file)#"2") then (header,alert.time in $file=NULL);if ((severity.code in $file)#"3" and open.time in $file+val('3 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('3 00:00:00', 3));if ((severity.code in $file)#"4" and open.time in $file+val('7 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('7 00:00:00', 3));if (severity.code in $file)#"99" then (header,alert.time in $file=NULL)
alert stage 3
if ((severity.code in $file)#"1" or (severity.code in $file)#"2") then (header,alert.time in $file=NULL);if ((severity.code in $file)#"3" and open.time in $file+val('7 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('7 00:00:00', 3));if ((severity.code in $file)#"4" and open.time in $file+val('14 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('14 00:00:00', 3));if (severity.code in $file)#"99" then (header,alert.time in $file=NULL)
deadline alert
if ((severity.code in $file)#"1" and open.time in $file+val('02:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('02:00:00', 3));if ((severity.code in $file)#"2" and open.time in $file+val('05:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('05:00:00', 3));if ((severity.code in $file)#"3" and open.time in $file+val('14 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('14 00:00:00', 3));if ((severity.code in $file)#"4" and open.time in $file+val('30 00:00:00', 3)<=tod()) then (header,alert.time in $file=tod()+val('30 00:00:00', 3));if (severity.code in $file)#"99" then (header,alert.time in $file=NULL)


Reply With Quote
roblem.alerts and notification entries for IM Alert Action a little to ensure alerts are only send on the first time a ticket reaches a specific alert level.
Bookmarks