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.
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