Can a Business rule be triggered from another business rule

varunkumar1
Tera Contributor

Hi All,

Could any one please tell me if one business rule can be triggered from the other business rule?

please share your thoughts.

Thanks

Dhileep Keshapagu

10 REPLIES 10

May I know the reason like why we cannot call BR rule from another BR?


Please explain if you know the reason


A business rule generally only runs on a record update, insert, query, delete or display. There is one other way to use business rules and that is global business rules. A global business rule is a specific type of business rule they are used to define functions that can be called from other server side scripts, but have been deprecated with the use of script includes.



So, I think you can not call Business Rule from Business Rule instead of using an alternate and best way to use Script Include.



Reference: what is difference between business rules and global business rules?


Business rules are just like database triggers, which gets called or executed when its underlying condition is satisfied.


So make sure that the condition or field value of the record changes such that the condition of business rule is satisfied.



So yes, you can call business but not explicitly


yeah, that's like one is pushing to another one (forming a chain of BR execution) but not like to call a specific one whenever you want to, like script include.


divya mishra
Tera Guru

Hi Varun,



You can definitely do that based on your conditions. Lets say you have a BR named A which changes a field value.


Then you can create a BR named B where the condition applies as : fieldname changes.



This is how you can connect your BR and trigger them accordingly.




Please Hit ✅Correct, ��Helpful, or ��Like depending on the impact of the response


Have a lovely day ahead




Regards,


Divya Mishra