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
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

The groovy script for a resolved request

edited Jan 30, 2025 1:15PM in Help Desk 2 comments

Summary:


Content (please ensure you mask any confidential information):

I created the below groovy script to send out a bell and email notification to the primary contact once their request is resolved but nothing is being sent out. Can you confirm the script is set up correctly. The trigger has also been set to BeforeUpdate :

if (isAttributeChanged('StatusCd') && (StatusCd == 'ORA_SVC_HRHD_RESOLVED')) {

try {

def map = new HashMap();

def messageText = 'This HR Help Request has been resolved. \n Request Number: ' + SrNumber +'\n Subject: ' + Title+ '\n Resolved By: '+ResolvedBy

def recipientPartyId = PrimaryContactPartyId

// Specify one or more channels

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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