Is there a way to override global business rules that are inherited without changing them?

Navaneeth1
Tera Guru

I have a custom scoped application that inherits from the incident table. There are global business rules that change the state based on the field incident.state and I would like to override these business rules. I don't have access to disable or modify the global rules. 

Is there a way to make override the business rules that copy the states from incident.state to state? Or can anyone think of any other way around this?

Thank you in advance!

6 REPLIES 6

Maddysunil
Kilo Sage

@Navaneeth1 

I think you can create custom business rules within your scoped application that specifically target the fields and conditions you want to control(give the order more than the global BR order). These rules will execute after the global business rules, allowing you to override or modify the behavior as needed.  Set the state field based on your own criteria without interference from the global rules.

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

@Maddysunil 

Thank you for the feedback! The issue here is that, the global BR will change the field state to incident.state. If I run a BR after telling the action to keep the state as state it will still be the wrong value as it has already been updated by the first BR. It's a global state called "Copy Incident State to State " that does this. Could you please review this BR and let me know if you can think of a way around this issue?

@Navaneeth1 

Then in that case , You may need to create your own custom state field and use it accordingly.

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

swathisarang98
Giga Sage
Giga Sage

Hi @Navaneeth1 ,

 

If you want your business rule to run and set the state based on your condition, then you can change the order of your BR to highest number,  so that the OOTB BR will have less order and even though it runs, after execution of ootb br your BR will run.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang