Closed email/ bell notification is not working — 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

Closed email/ bell notification is not working

Summary:


Content (please ensure you mask any confidential information):

I created a groovy script I can use to notify the primary contact for when the request is closed in HR Help Desk? I have used the following script below but its not working. I am also using the BeforeUpdate trigger.

.

  • TRIGGER TYPE: Before Update in Database
  • OBJECT: HR Help Desk Request
  • Use Case: Send a notification to the primary contact when an SR has been closed.
  • Note: You can override the Notification Text and Recipients using the Notification Preferences page.
    */

if (isAttributeChanged('StatusCd') && StatusCd == 'ORA_SVC_HRHD_CLOSED') {
try {
def recipientPartyId = PrimaryContactPartyId

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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