- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:51 AM - edited 04-02-2024 02:52 AM
Hello,
Is it possible to have one business rule skip specific task in another business rule when it is executed?
For example,
(1) BR1 is executed
(2) Check if BR1 was executed in the if statement in BR2
(3) If executed, skip the task in the if statement
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 06:32 PM
As a workaround, I decided to write the following script in BR1.
setWorkflow(false);
This prevents BR2 from being executed after BR1 is executed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:55 AM
@Saeka Why don't you use flow designer instead of business rules ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:56 AM
Hi @Saeka ,
There is no such feature if BR triggered or not unless you explicitly add log statements in the script.
You can enable debug business rule to check which business rule executed or not.
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 06:32 PM
As a workaround, I decided to write the following script in BR1.
setWorkflow(false);
This prevents BR2 from being executed after BR1 is executed.