/build/static/layout/Breadcrumb_cap_w.png

K1000 Service Desk: Ticket Rule Trigger Email to more than one person

I have a rule to email a supervisor when a ticket sits in a status for too long. If I try to send the results to more than one person it doesn't send an email. Here's the query:

Select 'lwalters@wacoisd.org' AS LISA,

'cfrey@wacoisd.org' as CHARLIE,

OWNER.EMAIL AS OWNER_EMAIL,     -- $owner_email

S.NAME AS STATUS, T.ID AS ID, T.TITLE AS ISSUE,

U.FULL_NAME AS SUBMITTER, O.FULL_NAME AS OWNER,

T.CREATED AS CREATED, T.MODIFIED AS STALLED

FROM HD_TICKET T

JOIN HD_STATUS S ON (S.ID = T.HD_STATUS_ID)

JOIN USER U ON (U.ID = T.SUBMITTER_ID)

JOIN USER O ON (O.ID = T.OWNER_ID)

LEFT JOIN USER OWNER ON OWNER.ID = T.OWNER_ID

WHERE (S.NAME = 'New' AND DATEDIFF(NOW(), T.MODIFIED) = 20)

AND T.HD_QUEUE_ID = 1

 

In the Email Column Field if I put LISA, CHARLIE, OWNER_EMAIL it doesn't send an email. If I only put one email then it sends. Is there no way for it to email multiple people?


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: nshah 11 years ago
Red Belt
0

Have you checked out this article?

http://www.itninja.com/question/multiple-email-address-formatting-in-rules

 


Comments:
  • Thanks. The CONCAT suggestion worked. - lmland 11 years ago
    • I lied... the CONCAT (email, email) as EMAILLIST was not working. Any other ideas? It works fine when i use a single address: 'user@company.com' as USEREMAIL. - lmland 11 years ago
      • I fixed it. I had a single quote in the wrong place. Put the whole list of emails within one set of single quotes and it works like a charm. - lmland 11 years ago
Posted by: jct134 10 months ago
Senior Purple Belt
0

You can simply add this...


'Email1@address.com,Email2@address.com.com' AS NEWTICKETEMAIL -- $newticketemail


Then use the variable "NEWTICKETEMAIL" in the Column containing email addresses:

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