/build/static/layout/Breadcrumb_cap_w.png

Are certain fields required for ticket rules in order for "view ticket search results" to display results/send email..

I'm firing the query below "on Ticket save". This triggers an email to be sent to myself (for testing purposes).

If I click "run query", I receive the email with all the pertinent information.

However, if I create a new ticket (by submitting an email), it doesn't seem to work. Any thoughts?

SELECT HD_TICKET.ID, HD_TICKET.TITLE, HD_TICKET_CHANGE.COMMENT, HD_TICKET_CHANGE.VIA_EMAIL, HD_TICKET.CREATED, 'user@domain.com' AS NOTIFICATION_EMAIL

FROM HD_TICKET 

JOIN HD_TICKET_CHANGE

ON HD_TICKET.ID = HD_TICKET_CHANGE.HD_TICKET_ID

WHERE HD_QUEUE_ID = '1'

AND HD_TICKET_CHANGE.DESCRIPTION = 'Ticket Created'

ORDER BY HD_TICKET.ID DESC


0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 12 years ago
Red Belt
0

This might be a silly question, but is the Enabled box checked? I often forget to check the box when creating new rules.


Comments:
  • Thanks Chuck for getting back to me. Right now it's not, only because I want to test out the query without having it in effect. I just want to click the "view results" link and see the results. The minute I addd an order by or limit action, the results go away. It's as if it doesn't respect those terms. Any ideas?? - paulcalabro 12 years ago

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