Need to send notification to impacted user and also the watch list user

phr
Tera Contributor

Hi All,

 

I have a requirement, where the notification is triggered when the impacted user updates the worknotes after the incident is resolved and is working fine.

My requirement is even when the watch list user updates the worknotes, then also the notification has to trigger.

But the notification is triggered from the event and its from the business rules and it seems to not work.

Now the notification is only getting triggered when the imapcted user updates the work notes:

 

I added the highlighted lines in the business rule code:

phr_0-1721914553379.png

 

Is there something wrong with my code?

(Note: when the impacted user updates the worknotes the notification is triggering to both as i have also kept the watch list user in the send to which is working fine)

Attaching the image for reference.

phr_1-1721914661524.png

 

 

1 REPLY 1

Ayushi12
Mega Sage

Hi @phr 
Refer: https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/script/server-scripting...

If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful."

Thanks!