Variables needs to be editable only based on assignment group

Rishi32
Tera Contributor

Hi All,

We need to make variables editable based on assignment group on RITM and TASK. there is a client script which is making variables read only on ritm and task table, we need to make variables editable based on assignment group, Please help on this.

Regards

Rishi

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use display business rule on RITM and SC Task table to check group membership

Store that in g_scratchpad and use that variable in client script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Murthy Ch
Giga Sage

Hi Rishi,

You can check this Thread, Similar question I'm asked when I started journey in Servicenow.

https://community.servicenow.com/community?id=community_question&sys_id=01f40f1c1bcba0900b8a9979b04b...

 

Thanks,

Murthy

 

Thanks,
Murthy

Abhijit4
Mega Sage

Hi Rishi,

You can refer to Murthy's answer. However, he was having requirement for static one group therefore he was able to achieve it with client script. However, your requirement is to check  dynamically for current assignment group.

If you are looking to check if logged in user is member of current assignment group then make field editable on client script then please refer to this discussion https://community.servicenow.com/community?id=community_question&sys_id=1f331deadbcd8514ae8125091396... here I have already answered similar question.

Let me know if you have any further question.

Please mark as correct or helpful if it helps.

Thanks and Regards

Abhijit

 

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use display business rule on RITM and SC Task table to check group membership

Store that in g_scratchpad and use that variable in client script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Abdul Aamer
Tera Contributor

Hi Ankur Bawiskar,

Variables needs to be editable only based on assignment group for specific catalog item, how can we do this?