How to close modal by using Bussieness rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 07:27 PM
Hi there
I am exploring the way to close the modal by using Bussiness Rule for quite a while now.
As far as I searched, only cliant script can be used for closing the modal window.
Could somebody help me with this please?
Note: The reason why I want to use Business rule is that I want to close the modal window by the result of the API result(record information)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 08:55 PM
not possible from business rule.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 10:46 PM
Thank you for your answering my question.
Let me ask you an additional question.
Does external system with API linkage to Servicenow make it possible to close modal?
Or is there any way??
Many thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 12:25 AM
nope.
the modal is UI based and only user can close it or it can be closed from client side code i.e. the same code which opened the modal
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader