---
title: Usage Of current.update() In Script Workflow Activities
description: "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…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/usage-of-current-update-in-script-workflow-activities/"
updated: "2025-03-21"
category: Rules
---

# 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
