You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Include SR details in Resource Added Notification

edited Sep 7, 2023 4:50PM in Help Desk 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!