Restrict related list records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 03:28 AM
Hi everyone,
I have to restrict CIs in the related list section of the incident form based on the caller, for example If I am the caller then I need to show CIs in the related list section which are just from my company.
Like if I am the caller and my company is TCS, then I should be able to see only TCS CIs when I try to add in the Affected CIs related list. Can somebody give me the script or way on how to achieve this.
Thanks,
Ramesh
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 04:36 AM
that script you need to enhance since that requirement and your requirement is somewhat different
approach would still be the same i.e. how to add your own filter when you click Add button
1) send caller_id value
2) then inside that script include add your query
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
‎02-16-2022 05:01 AM
I am new to scripting, can you help me out with a way here