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 Execution engine will update the current record automatically.
Time to fix
15 min