How to add Service Request Attributes in a Communication Template
Question
How do I access Service Request attributes within a communication template?
Answer
You can get the attributes by using a relationship to the object. For instance, if the Communication is created in the Incident application, you can use relationship ACTIVITY to get the attributes of any of the
activities of the Incident. If the Communication is generated from the Activity object, use relationship ORIGTICKET.
If the relationship returns more than 1 record, treat it as an array. For instance, if the Incident has 3 Activities, the :ACTIVITY relationship can return 3 objects. Use brackets to refer to them.
For example, :ACTIVITY[2].CINUM gets the CINUM of the 3rd Activity of the Incident.
activities of the Incident. If the Communication is generated from the Activity object, use relationship ORIGTICKET.
If the relationship returns more than 1 record, treat it as an array. For instance, if the Incident has 3 Activities, the :ACTIVITY relationship can return 3 objects. Use brackets to refer to them.
For example, :ACTIVITY[2].CINUM gets the CINUM of the 3rd Activity of the Incident.
No comments:
Post a Comment