Does schedule jobs invoke inactive business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2016 03:32 AM
Hi All,
Does schedule jobs invoke inactive business rule.If so then how is it done.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2016 03:37 AM
Hi,
Inactive business rules are just that... inactive. They are not triggered by updates/inserts/deletes/etc made by scheduled jobs, transform maps, workflow scripts, or other business rules.
Please let me know if you have additional questions on this topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 07:23 PM
I dont think so, I just reproduced it OOB, by calling an inactive BR thru sys_trigger and it did run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2019 07:27 AM
Yes, you "can" run a Business Rule that way and have it execute, BUT, that is not the way you should do things anymore.
A good (or bad, really) example of that is the "Autoclose Incidents" Schedule Item - it runs the "incident autoclose" Business Rule. That particular BR is setup on the Incident table, but will NOT trigger based on any database operation (none of the Insert, Update, Delete or Query checkboxes are selected).
This goes back to the days where Scheduled Script Executions and Script Includes did not exist yet, so this is how things had to be done. Now, Business Rules should really only be triggered by database operations and you should leverage Scheduled Script Executions and Script Includes where appropriate.
Although there are still examples of the old way of doing things, do not add any more.
So, to summarize, you can programmatically "run" an inactive BR, that same inactive BR will NOT be "triggered" by a database operation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 08:14 PM
Hi,
You can do the vice versa, invoke an onDemand scheduled job from a BR(or any serverside script) but not the opposite.
Refer: Can a schedule job invoke an inactive business rule?
Thanks