Guys, I need to personalize my notifications triggers, but dont find all placeholders $this->...$ for notifications.
Right now, I'm trying send a email to Contacts in a Ticket, New or Updated. My message its working and send the email, but I don't now the right placeholders for mention the contact notified in description, like:
Dear $contact_notified->name$......
We have the $mentioned$ placeholde on mentioned in logs or caller, we have something similar for this cenario?
$this refers to the object that triggers a notification (for instance, if you trigger a notification upon user request change, it refers to the user request.
You can then use the attribute codes (such as name, ref, agent_id_friendlyname) from that iTop class.
To see these attribute codes, browse the "datamodel" (for instance in the iTop GUI).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guys, I need to personalize my notifications triggers, but dont find all placeholders $this->...$ for notifications.
Right now, I'm trying send a email to Contacts in a Ticket, New or Updated. My message its working and send the email, but I don't now the right placeholders for mention the contact notified in description, like:
Dear $contact_notified->name$......
We have the $mentioned$ placeholde on mentioned in logs or caller, we have something similar for this cenario?
$thisrefers to the object that triggers a notification (for instance, if you trigger a notification upon user request change, it refers to the user request.You can then use the attribute codes (such as name, ref, agent_id_friendlyname) from that iTop class.
To see these attribute codes, browse the "datamodel" (for instance in the iTop GUI).