Include SR details in Resource Added Notification
Summary:
How can we add basic details such as SR subject or SR number to our notification?
I was unable to find the above fields in this object, and have not been able to successfully reference the parent HR Help Desk object to get these.
Content (required):
We are using the Service Request Resource Object
Standard -> HR Help Desk Request -> Service Request Resource
// Trigger = Before Insert
// Object = Service Request Resource
if ( OwnerFlag == 'N') {
try {
def map = new HashMap();
// Specify default MessageText
def messageText = "You have been added as a resource to a service request"
// Specifying the recipient
def recipientPartyId = PartyPartyId
0