NextGen: Need a sample Groovy when SR closed by Agent/Requester — Cloud Customer Connect
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

NextGen: Need a sample Groovy when SR closed by Agent/Requester

Summary:

Hi Experts,

When SR closed by Requester/Agent I want to send BELL Notification & Email as well, could anyone having sample groovy please share it with me.

@Reeta S-Support-Oracle

@Om Yadav-Oracle

@Bhawna Rawat

Lisa Wilkes-Support-Oracle : Appreciate you help please


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

I have used below snippet code but its not working

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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