How to restrict OOTB Business rule running on Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 08:56 AM
Hello All,
We have an OOTB Business Rule which runs across the instance(on Portal too by default)
Business Rule Name -"Create primary email device"
This shows an info message saying "Primary email device created for"
However, the requirement do not want this to displayed atleast on the Portal. How do I restrict that from running on Portal.
Please suggest.
TIA
@Dr Atul G- LNG @Sandeep Rajput @Iraj Shaikh @Danish Bhairag2 @Mark Manders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 09:01 AM
Hi @DB1
I am not a coder, but OOTB BR will run on all, ( not like we have the option on client script ).
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 09:06 AM
Hi @DB1,
Please review the community article for the solution - https://www.servicenow.com/community/developer-forum/need-business-rule-to-run-only-in-native-ui-not...
If my response helped you, please mark it as correct or helpful.
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 06:50 PM
@DB1 Create primary email device is an OOTB business rule, a business rule runs for all UI types be it Portal, backend or mobile.
If you do not wish to display the message comment the line number 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 12:49 AM
What's your reason for not wanting this BR to run? Just because of the message? Then just comment the message out. Functionality will remain intact and that's the main thing.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark