Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
The groovy script for a resolved request
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
Tagged:
0