From 80da0d153982678e2f5cdea1418459244120eba3 Mon Sep 17 00:00:00 2001 From: Sascha Schmidt <s.schmidt@adito.de> Date: Wed, 27 Oct 2021 10:54:45 +0200 Subject: [PATCH] Rename variable (MR/CR) --- .../children/setcomplete/onActionProcess.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entity/Task_entity/entityfields/filteractiongroup/children/setcomplete/onActionProcess.js b/entity/Task_entity/entityfields/filteractiongroup/children/setcomplete/onActionProcess.js index 824095f07f..07877fec5e 100644 --- a/entity/Task_entity/entityfields/filteractiongroup/children/setcomplete/onActionProcess.js +++ b/entity/Task_entity/entityfields/filteractiongroup/children/setcomplete/onActionProcess.js @@ -2,15 +2,15 @@ import("KeywordRegistry_basic"); import("system.entities"); import("system.vars"); -var data = vars.get("$sys.selection"); +var selection = vars.get("$sys.selection"); var updateConfig = entities.createConfigForUpdatingRows() .entity("Task_entity") .fieldValues({ "STATUS": $KeywordRegistry.taskStatus$ended() }); - -data.forEach(function (dataRow) + +selection.forEach(function (dataRow) { updateConfig.uid(dataRow); entities.updateRow(updateConfig); -- GitLab