How to restrict OOTB Business rule running on Portal

DB1
Tera Contributor

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 

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

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]

****************************************************************************************************************

Saloni Suthar
Mega Sage
Mega Sage

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

Sandeep Rajput
Tera Patron
Tera Patron

@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.

 

Screenshot 2024-02-17 at 8.14.43 AM.png

Mark Manders
Mega Patron

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