From 457e9e2a4537e1335e3bd2018689bf04800309e2 Mon Sep 17 00:00:00 2001 From: MinaR Date: Mon, 27 May 2024 15:27:52 +0200 Subject: [PATCH] =?UTF-8?q?ritornare=20indietro=20con=20la=20regola=20perc?= =?UTF-8?q?h=C3=A9=20per=20le=20logiche=20di=20Steup=20questa=20regola=20n?= =?UTF-8?q?on=20va=20bene?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ems-core/src/main/resources/rules/config_activity.drl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ems-core/src/main/resources/rules/config_activity.drl b/ems-core/src/main/resources/rules/config_activity.drl index 70e549f551..9def2fc4b4 100644 --- a/ems-core/src/main/resources/rules/config_activity.drl +++ b/ems-core/src/main/resources/rules/config_activity.drl @@ -41,7 +41,7 @@ rule "completeCodJfas" no-loop when eval(completeRulesEnabled) - $entity : StbActivity(activityTypeId != null && flagTipologia != null) + $entity : StbActivity(codJfas == null && activityTypeId != null && flagTipologia != null) then String codJfas= ConfigActivityRules.completeCodJFasAct(conn, $entity.getActivityTypeId(), $entity.getFlagTipologia()); modify ( $entity ) { setCodJfas(codJfas) }