Need Help Sending Notification Only to the User a Task Was Delegated To
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 03:46 AM - edited 08-03-2025 03:58 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 07:19 AM
@GhitaB help us with your advance code snapit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 07:40 AM - edited 08-03-2025 12:40 PM
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