script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 08:00 AM
We have two fields: assignTo and delegate_user. If you assign the assignTo field, any delegate users will automatically appear in the field.
ways to solve with a script consist of
thanks
Mustafeez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 07:21 AM
Hi @Mustafeez
Delegation is not system retroactive for notifications. (so for example the delegate wouldn't retroactively receive the email notifications that were already sent, only new notifications)
However if the ticket is already assigned to that user does not matter, as during the delegation it will not be reassigned.
Instead; the user to which it was delegated will simply see the task/tickets show up on their queue.
For example;
- An ongoing incident is assigned to Annabelle.
- Annabelle will go on vacation and sets a delegate to me.
- During this period, when I now open My work I will see both my own incident and also the above incident from Annabelle in my queue. (Even though it is still assigned to Annabelle).
Out of the box the 'My work' filter uses;
Assigned to - is - javascript:getMyAssignments()
The getMyAssignments includes records of users where you are the delegate during an activate delegation.
So keep in mind the tasks are not actually reassigned, it's more that they are CC'd in notifications and that their tickets/tasks will show up in delegates queue when the above filter is used.
reference document are below for that.
https://www.servicenow.com/community/itsm-articles/delegates-in-servicenow/ta-p/2600517
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024