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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

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!