Business rule not always running as expected

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 12:36 PM
We have a before business rule that should always run on insert/update (no other conditions) into the task_time_worked table via a time worked update on tasks, but about 1% of the time it does not run. The rule is intended to create/update time cards, but because of this issue, it's not doing so consistently. The record does get inserted, just triggers no business rules.
There does not appear to be any kind of a pattern to when this happens - it seems completely random.
I have searched high and low for other rules that may be preventing this rule from running (containing setWorkflow(false))
I'm at my wits end and need some advice on other ways to troubleshoot. I can't reproduce what's happening... and HI won't help; the rule is custom because we needed some additional functionality that the OOB rule did not provide.
Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 05:41 AM
3000+ entries have been added since I made the change with no re-occurrence of the issue. I will continue to watch, but I am reasonably confident it is resolved.
I still don't know why this was happening, but suspect it has something to do with my rule being a 'before' rule and task_time_worked records having no domain.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 01:45 PM
Hi
Thanks for the update. That sound great.
If you reach 10000+ records without any problem, I invite you to close this thread.
You are very welcome to mark my answer as correct & helpful then.
I keep my fingers crossed for you.
BR
Dirk