Usage Of current.update() In Script Workflow Activities

< 1 min read

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

Updated on March 21, 2025
Table of contents
Was it helpful ?