Butterfly Effect
Import
·
Dec 11, 2022
·
article
While updating records using gr, we can use several additional methods that would affect the outcome. Let us look at some of the methods below
1. setWorkflow(false) - stops any business rule or workflow engine from running.
2. autoSysFields(false) - tells system not to update the system fields like sys_updated_on, sys_updated_by, sys_created_by etc
3. setForceUpdate(true) - forces the business rules and workflow engine to run, despite not having any actual update.
Imagine how a simple line of code could result in different outcomes, a butterfly effect for the records in question.
View original source
https://ohhgr.blogspot.com/2022/12/butterfly-effect.html

