Issue
Business Rules are triggered when e.g. a record on 'incident' form is updated. This triggers a set of Business Rules. If one of the triggered Business Rule invoked setWorkflow(false).
When setWorkflow(false) does not prevent triggering Business Rules?
Release
Supported environment
Cause
No defect. Expected behavior.
Resolution
Business Rules are triggered when e.g. a record on 'incident' form is updated. This triggers a set of Business Rules. If one of the triggered Business Rule invoked setWorkflow(false), this would not abort all Business Rules that would have been triggered by the incident update. It would only prevent any Business Rules to be triggered by the update invoked by this Business Rule, if e.g. it invoked current.update(). The common usage of setWorkflow(false) is in scripts that are executed in background script or fix script.