- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 10:19 PM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 10:40 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 10:23 PM
Hi Rishi,
You can check this Thread, Similar question I'm asked when I started journey in Servicenow.
Thanks,
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 10:34 PM
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
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2022 10:40 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2023 07:51 AM - edited ‎04-21-2023 07:55 AM
Hi Ankur Bawiskar,
Variables needs to be editable only based on assignment group for specific catalog item, how can we do this?