- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 10:51 PM
Hi Devlopers,
I have a requirement to add some substatus Choices for incident & task for On hold status.
On Hold - Pending Purchase
On Hold - Pending Return of equipment
On Hold - Pending New Hire start date
And these pending status should only visible to Abc assignmentgroup.
could you please help with suggestions.
Thank you
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 12:38 AM
Hi Guru,
This seems to be a different issue, I tested in PDI and code works perfectly, can you mark my answer as correct and close the thread and open new thread so that your question can be addressed.?
Regards,
Musab
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 11:03 PM
Add choice to the field and Write onLoad client script to remove the choices if the logged in user is not part of group ABC
Thanks & Regards,
Vasanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 11:16 PM
Hi Guru,
Please add them as choices and make it visible using Onload and Onchange client or combine both in onchange client script or even with UI policy. Please use below link for sample
https://community.servicenow.com/community?id=community_question&sys_id=1949e9d3db1f3700feb1a851ca961967
Use Removeoption function to make it work.
Mark my answer as correct or hit like based on impact.
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 11:51 PM
Hi Musab,
Could please help me with client script.
If user assignment group contains =abc he can access the choce if not choice will be hide.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 11:58 PM