Usage of current.update() in Script Workflow Activities
Impact area
Scalability
Severity
High
Affected element
Workflow Activity
Rule number
SN-0405
Impact
Using current.update() within a workflow can cause duplicate updates, or in the worst case scenario: infinite loops.
Remediation
To avoid an infinite loop when a record is inserted, or duplicate updates, remove unnecessary current.update() calls from custom scripts. The Workflow Engine will always guarantee updates to the current record at the end of each process point.
Time to fix
15 min