Prevent user to reject approval from SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello All,
There is a requirement to prevent user to reject approval from related list without putting the comment of rejection in native ui and SOW both.
So in native ui i created oncelledit client script to add one popup to put comment when someone rejecting from list view and mapping it in approval comment. (it is working fine)
But in SOW this client script is not working. so i make the modification in sys_ux_list table for My approvals and All approvals. (it is also working)
Now the issue is, in SOW only if someone open change request or RITM and in related records they open approvals and from there if they rejects it, then it is rejecting. so how can i prevent user to reject approval permanently from list view in SOW.
Please suggest some solution. i am struggling for this in last week. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
better to use data policy or before update BR
that should work for you
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I tried using before business rule so setabortaction(true) is working there but in SOW infomessage is not working there so it might confused user why this is not changing. So any option to show message in sow when they change state?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
so you are saying BR is working fine but info message is not coming?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
yes it is aborting to change the state. but info message is not soming in SOW. can you tell me how we can do that?
