Global Business Rule?

vidishaagarwal5
Tera Expert

Do we really need to create any global BR.? what its use case any docummentation?

3 ACCEPTED SOLUTIONS

Ravi Gaurav
Giga Sage

Hi @vidishaagarwal5 

 

A global Business Rule is a Business Rule where the selected Table is Global. Any other script can call global Business Rules. Global Business Rules have no condition or table restrictions and load on every page in the system.

Note : The reason we would need to use Global Business rules in the past is if we wanted a custom globally accessible function, such as getMyGroups, or getUser. Now a days we can do the same thing in Script Includes which has less performance impacting way.

View solution in original post

Dr Atul - LNG
Tera Patron

Hi @vidishaagarwal5 

 

Global business rule runs on every thing on the system or as soon as you login to instance.. and when you want any functionality to happen on insert/update/delete of record then you use normal BR.

https://www.servicenow.com/community/spm-forum/what-is-difference-between-business-rules-and-global-...

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@vidishaagarwal5 

Usually we don't create due to impact.

But there are lot of OOTB global business rules from ServiceNow which are still there and are used in many places

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Ravi Gaurav
Giga Sage

Hi @vidishaagarwal5 

 

A global Business Rule is a Business Rule where the selected Table is Global. Any other script can call global Business Rules. Global Business Rules have no condition or table restrictions and load on every page in the system.

Note : The reason we would need to use Global Business rules in the past is if we wanted a custom globally accessible function, such as getMyGroups, or getUser. Now a days we can do the same thing in Script Includes which has less performance impacting way.

Dr Atul - LNG
Tera Patron

Hi @vidishaagarwal5 

 

Global business rule runs on every thing on the system or as soon as you login to instance.. and when you want any functionality to happen on insert/update/delete of record then you use normal BR.

https://www.servicenow.com/community/spm-forum/what-is-difference-between-business-rules-and-global-...