diff --git a/entity/Task_entity/entityfields/protectionlevel/valueProcess.js b/entity/Task_entity/entityfields/protectionlevel/valueProcess.js index 2080ca4fd3985740c4dab03d53fab5fa48203732..06be75dc391630efc92dffbff413d7b9fa2100ab 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