diff --git a/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js b/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js
index 1600aca0c7b87edeec96b9ee5b8424eb9aa55d38..a398c25dfea02c14c520e9d932ecc46607d9db69 100644
--- a/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js
+++ b/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js
@@ -4,9 +4,9 @@ import("system.neon");
 import("Attribute_lib");
 
 var state = neon.COMPONENTSTATE_DISABLED;
-if (vars.exists("$local.rows"))
+if (vars.exists("$sys.selectionRows"))
 {
-    var row = JSON.parse(vars.get("$local.rows"))[0];
+    var row = JSON.parse(vars.getString("$sys.selectionRows"))[0];
     if (row.AB_ATTRIBUTE_ID)
         state = neon.COMPONENTSTATE_EDITABLE;
 }