Is there a way to override global business rules that are inherited without changing them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 04:58 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 05:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 05:24 AM - edited 02-26-2024 05:25 AM
@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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 05:37 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 05:10 AM
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