From 372ea8e87c6b8823dbb730a5a41b4f0560a69c75 Mon Sep 17 00:00:00 2001 From: mescher <m.escher@adito.de> Date: Wed, 21 Aug 2019 10:52:35 +0200 Subject: [PATCH] fix Task Protectionlevel preset value --- entity/Task_entity/entityfields/protectionlevel/valueProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/Task_entity/entityfields/protectionlevel/valueProcess.js b/entity/Task_entity/entityfields/protectionlevel/valueProcess.js index 2080ca4fd3..06be75dc39 100644 --- a/entity/Task_entity/entityfields/protectionlevel/valueProcess.js +++ b/entity/Task_entity/entityfields/protectionlevel/valueProcess.js @@ -3,5 +3,5 @@ import("system.result"); import("system.neon"); import("system.vars"); -if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW) +if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null) result.string("0"); \ No newline at end of file -- GitLab