From 79c18e784c68581066b700b4a40922ae20eeb332 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Mon, 15 Jun 2020 21:42:35 -0400 Subject: [PATCH] PMCORE-1607: Dependent values in a grid are not updated in the second task, If there is a reference with a variable in the main form --- workflow/engine/classes/PmDynaform.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflow/engine/classes/PmDynaform.php b/workflow/engine/classes/PmDynaform.php index 8ab4afdc6..a7f77d3b6 100644 --- a/workflow/engine/classes/PmDynaform.php +++ b/workflow/engine/classes/PmDynaform.php @@ -686,8 +686,6 @@ class PmDynaform $json->dataGridEnvironment = "onDataGridEnvironment"; if (isset($this->fields["APP_DATA"])) { $dataGridEnvironment = $this->fields["APP_DATA"]; - //Grids only access the global variables of 'ProcessMaker', other variables are removed. - $this->fields["APP_DATA"] = Cases::getGlobalVariables($this->fields["APP_DATA"]); //restore AppData with dataVariable definition, only for columns control foreach ($columnsDataVariable as $dge) { if (isset($dataGridEnvironment[$dge])) {