Hello to all,
I try to create a trigger when an attachment is created. I want to notify agents when an attachment is added to an incident.
Attached, a screenshot of the trigger (object creation) But the trigger is never activated...
Could you help me?
Kind regards,
What about the triggered action?
Triggered action in attachment :) For tests I send email to the user that upload the attachment
OK, with the screenshot I see my error :( The WHERE configuration was not good, it has to be "U.id =" ! My bad :)
Other question, from the item_id column, it is possible to get the ticket ref with placeholder ?
Hello there :)
Waiting for this, I try to sent the notification to the agent in charge of the ticket, to I put this in the To OQL :
SELECT Person AS P JOIN Ticket AS T ON T.agent_id = P.id WHERE T.id = :this->item_id
In test it works but when I try in live, the item_id always equals '0' but in database I have the correct id. Is it a bug?
Log in to post a comment.
Hello to all,
I try to create a trigger when an attachment is created.
I want to notify agents when an attachment is added to an incident.
Attached, a screenshot of the trigger (object creation)
But the trigger is never activated...
Could you help me?
Kind regards,
What about the triggered action?
Triggered action in attachment :)
For tests I send email to the user that upload the attachment
OK, with the screenshot I see my error :(
The WHERE configuration was not good, it has to be "U.id =" ! My bad :)
Other question, from the item_id column, it is possible to get the ticket ref with placeholder ?
Kind regards,
Hello there :)
Waiting for this, I try to sent the notification to the agent in charge of the ticket, to I put this in the To OQL :
In test it works but when I try in live, the item_id always equals '0' but in database I have the correct id. Is it a bug?
Kind regards,