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

Groovy Script for Notification Trigger is not working

Summary:

Groovy Script for Notification Trigger is not working

Content (please ensure you mask any confidential information):

Hi All,

Greetings!

We are currently working on the notification setup in HR Help Desk, where email notification should be triggered to L1 and L2 people when the first response metric for the given service request is getting breached.

This is in Next Gen Helpdesk.

We have created the new triggers but those are not working.

The groovy script is not picking up the warned flag and compliance flag in the script.

Below are the script details -

Script 1-

if (isAttributeChanged('xWarnedFlag_c') && (xWarnedFlag_c == 'Y' || xWarnedFlag_c == true) && !AssigneeResourceId && xMilestoneLabel_c?.contains('First Response'))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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