As Jeffrey said you have to create a trigger and a action (email) linked to it.
For the trigger create a "Trigger on object update", then choose the Ticket or UserRequest class, then select the log attributes for which you want to be notified.
Then create an email action, link the trigger previously created, and you should be good.
Note: You have to set the email sender first
Hope this helps,
Guillaume
❤️
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, thank you very much for answering :), I can also make notifications arrive when someone writes something in the binnacle?
This is possible? By the way, I already managed to get the notification as requested, thank you very much, only this one is missing, but I don't see how to do it, could you guide me a little, thank you :)
Actually the "object update" is better. It allows you to control which log you want the notification for, and it's native. "On log update" is only part of the "send updates by email" extension.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello how are you?
Notifications only work for private blogs?
Since when looking at the Target fields I can't find this public_log,
There is only the private_log.
That's why I don't get notifications from the public log,
Try putting this in $this->head_html(public_log)$ but it only calls the text of the public log if something has been previously written and posted to the private log.
Is there a solution or am I just doing something wrong?
Thanks for answering :)
Hello, could you help me install the extension for public log notifications, but when I write something in the log I get notifications to the agent and the user at the same time, how can I make it so that only what the user wrote to the agent reaches the agent and I don't know Did I forward to the user what he wrote to the agent?
The same thing happens to me in the agent's notifications, what is sent to the user is also sent to the agent,
user inquiry
SELECT Person WHERE id=:this->caller_id
agent inquiry
SELECT Person WHERE id = :this->agent_id
I am using those queries, could someone help me or only in this way can notifications be used
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, how are you? I wanted to ask if there is any way to generate notifications when something is written in the ticket logs
Thank you
You can link a notification to the trigger "When log is updated".
Hello Daniel,
As Jeffrey said you have to create a trigger and a action (email) linked to it.
For the trigger create a "Trigger on object update", then choose the Ticket or UserRequest class, then select the log attributes for which you want to be notified.
Then create an email action, link the trigger previously created, and you should be good.
Note: You have to set the email sender first
Hope this helps,
Guillaume
Hello, thank you very much for answering :), I can also make notifications arrive when someone writes something in the binnacle?
This is possible? By the way, I already managed to get the notification as requested, thank you very much, only this one is missing, but I don't see how to do it, could you guide me a little, thank you :)
that when someone writes something in a blog a notification arrives to the person who uploaded the ticket this is possible thanks :D
Use the "on object update" or even better "when log is updated" trigger.
Then use this function to grab the latest entry:
$this->head_html(public_log)$
https://www.itophub.io/wiki/page?id=latest:admin:placeholders
Actually the "object update" is better. It allows you to control which log you want the notification for, and it's native. "On log update" is only part of the "send updates by email" extension.
Hello how are you?
Notifications only work for private blogs?
Since when looking at the Target fields I can't find this public_log,
There is only the private_log.
That's why I don't get notifications from the public log,
Try putting this in $this->head_html(public_log)$ but it only calls the text of the public log if something has been previously written and posted to the private log.
Is there a solution or am I just doing something wrong?
Thanks for answering :)
Hello, could you help me install the extension for public log notifications, but when I write something in the log I get notifications to the agent and the user at the same time, how can I make it so that only what the user wrote to the agent reaches the agent and I don't know Did I forward to the user what he wrote to the agent?
The same thing happens to me in the agent's notifications, what is sent to the user is also sent to the agent,
user inquiry
SELECT Person WHERE id=:this->caller_id
agent inquiry
SELECT Person WHERE id = :this->agent_id
I am using those queries, could someone help me or only in this way can notifications be used
Thank you.
Not sure if it would work, but try adding this to the end of the queries:
AND id != :current_contact->id$