Restrict the update to Native UI only, dont allow Service Portal Update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi,
I have a requirement where the watchlist users comment/attach something on sc task, state should change from pending to In progress.
But It should be restricted only to native UI i.e, when watchlist users update something on native UI, then only state should be moved to In progress. If they update in service portal, it should not update the state.
How to implement this with restricttion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
your business rule can't determine if update is happening in native or portal.
Why not change the state using client script and make sure the UI Type - Desktop so that this script runs only in native and not in portal?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Okay, Using client script can I get to know if watchlist user add a comment/attachment , both in single script. Or I need to any server side script include ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
48m ago
on form you have watch_list users, you know the logged in user
then check if that logged in user is present in watch list or not
that will help you know who is updating
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader