I would like to be able to notify the team of the agent in charge of the ticket.
Let me explain.
I already have a notification that sends an email to the agent when the ticket is assigned to them but I would like to be able to notify the team members linked in the ticket.
What requests should I put in the CC field to notify them?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I would like to be able to notify the team of the agent in charge of the ticket.
Let me explain.
I already have a notification that sends an email to the agent when the ticket is assigned to them but I would like to be able to notify the team members linked in the ticket.
What requests should I put in the CC field to notify them?
SELECT Person AS P JOIN lnkPersonToTeam AS L ON L.person_id=P.id
WHERE L.team_id = :this->team_id
Thank you
It works.
On the other hand, if we assign an email to a team (eg: maileteam@domain.com), what is the request to select this contact?
I found
SELECT Team WHERE id = :this->team_id