/build/static/layout/Breadcrumb_cap_w.png

Send an email when a new ticket is created and custom field checkbox is not check

Hello,

I want to create a rule that will send an email to a group of persons when a new ticket is created and a custom field (checkbox) is not check.

New ticket --> checkbox custom field check --> no email sent
New ticket --> checkbox custom field not check --> email sent to a mailing list

I've already a "new ticket email" rule in place, but I'm not sure how to modify it to include the condition above.

Can someone guide me on the proper syntax ?

Thanks in advance!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: dtisoft 8 years ago
Yellow Belt
0
Found the solution. I simply added this condition at the end of the sql query:

WHERE
     C.DESCRIPTION LIKE 'TICKET CREATED%' AND !HD_TICKET.CUSTOM_FIELD_VALUE1 (custom field1 is the checkbox custom field).

Thx!

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ