I have a requirement to add some substatus Choices for incident & task for On hold status.

Abhishek66
Tera Contributor

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

find_real_file.png

 

 

 

And these pending status should only visible to Abc assignmentgroup.

could you please help with suggestions.

 

 

Thank you

1 ACCEPTED SOLUTION

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

View solution in original post

9 REPLIES 9

Vasantharajan N
Giga Sage
Giga Sage

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

Musab Rasheed
Tera Sage
Tera Sage

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

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.

Hi Guru,

Write UI policy like below.?

find_real_file.png

 

find_real_file.png

Please hit like and mark my response as correct if that helps
Regards,
Musab