The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Need Help Sending Notification Only to the User a Task Was Delegated To

GhitaB
Tera Contributor

Hi everyone,

I’m working on a use case in ServiceNow HR where a task is delegated by a user to someone else (via granular delegation), and I need to adjust the email notification behavior.

Objective:

  • For a specific type of task (based on the delegation rule's short description), the notification should only be sent to the user the task was delegated to, not the one who originally delegated it.

  • For other types of tasks, both users (delegator and delegated-to) should receive the notification. 

 

Actually i've wrote an advanced script to prevent notifications from being send if that specific task is delegated but i still need it to be send to the user the task was delegated to not to who delegate the task

GhitaB_0-1754217903758.png

 

2 REPLIES 2

Nilesh Pol
Tera Guru

@GhitaB help us with your advance code snapit

what i've just did is that i created new notif using insert and stay , but they have not the same conditions , the existing one for whicch i added short desc does not contain probation it s triggering but for th new one i created while testing when i delegate probation task , it s not getting triggered evn i check the events log , the even is fired but still not triggred

GhitaB_1-1754249974430.png

 

GhitaB_0-1754249940915.png