- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 03:19 AM
I have a requirement that it should be restricting to requesting a specific catalog item. It should prevent another person from requesting that catalog item on behalf of an excluded country site user.
If my location is Bangalore in India, it should allow to submit , if other than Bangalore in India it should not allow other person to submit the request on my behalf.
Do any of you have any ideas on how to work around this apparent loophole?
Please suggest in scripting if needed.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 06:46 AM - edited ‎09-25-2024 07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 03:47 AM
Hi @Archana23
Using User Criteria in ServiceNow to restrict access to a catalog item based on the user's location or group is a good approach.
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
Thanks
Eshwar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 04:02 AM
If someone is requesting on behalf of me, In that case also it should not allow them to submit beacuse my location is other than banglore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 04:05 AM - edited ‎09-25-2024 05:44 AM
@Archana23
You can achieve via On Submit client script as well
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
Thanks
Eshwar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2024 04:25 AM
Hi @Eshwar Reddy , Thank you for your response.
I have tried the above script, somehow it is not working as expected, it is allowing the other user to submit the request.