diff --git a/dynamixs-ai-app/src/main/java/ai/dynamixs/ConditionalAIAdapter.java b/dynamixs-ai-app/src/main/java/ai/dynamixs/ConditionalAIAdapter.java
index f9d6a3c..b4e25aa 100644
--- a/dynamixs-ai-app/src/main/java/ai/dynamixs/ConditionalAIAdapter.java
+++ b/dynamixs-ai-app/src/main/java/ai/dynamixs/ConditionalAIAdapter.java
@@ -103,12 +103,6 @@ public class ConditionalAIAdapter implements Serializable {
for (ItemCollection promptDefinition : llmConditionDefinitions) {
String llmAPIEndpoint = imixsAIPromptService.parseLLMEndpointByBPMN(promptDefinition);
String userPrompt = promptDefinition.getItemValueString("prompt");
- String llmAPIResultItem = promptDefinition.getItemValueString("result-item");
- if (llmAPIResultItem.isEmpty()) {
- throw new PluginException(OpenAIAPIService.class.getSimpleName(),
- OpenAIAPIService.ERROR_PROMPT_TEMPLATE,
- "Prompt Definition must include the tag 'result-item'.");
- }
if ("true".equalsIgnoreCase(promptDefinition.getItemValueString("debug"))) {
llmAPIDebug = true;
@@ -167,10 +161,7 @@ public class ConditionalAIAdapter implements Serializable {
if (llmAPIDebug) {
logger.info("│ ├── ⚐ Conditional expression result: " + conditionalExpressionResult);
}
- // store result
boolean booleanExpressionResult = Boolean.parseBoolean(conditionalExpressionResult.trim());
- conditionalEvent.getWorkitem().setItemValue(llmAPIResultItem, booleanExpressionResult);
-
// Store in transaction-scoped cache
promptResultCache.put(hashPrompt, "" + booleanExpressionResult);
conditionalEvent.setCondition("" + booleanExpressionResult);
@@ -181,4 +172,4 @@ public class ConditionalAIAdapter implements Serializable {
}
-}
\ No newline at end of file
+}
diff --git a/workflow/en/invoice-demo-c-1.0.0.bpmn b/workflow/en/invoice-demo-c-1.0.0.bpmn
index d4c01fd..c6fdfa8 100644
--- a/workflow/en/invoice-demo-c-1.0.0.bpmn
+++ b/workflow/en/invoice-demo-c-1.0.0.bpmn
@@ -855,7 +855,7 @@ result.isValid=true;
- ausgangsrechnung-template
+ invoice-template
sequencenumber.xlsx
true
]]>
@@ -1518,7 +1518,7 @@ Debitor: customer.name (customer.number
-
+
@@ -1866,17 +1866,18 @@ Debitor: customer.name (customer.numbersequenceFlow_PL3AfA
sequenceFlow_H0nRzA
-
+
-
+
true
llm.service.endpoint
compliance.check
-
-
-]]>
+
+Is the recipient country code customer.country not a member of the European Union?
+
+]]]]>
+]]>
@@ -2091,7 +2092,7 @@ Debitor: customer.name (customer.number
-
+
false
@@ -3049,9 +3050,9 @@ th { font-weight: bold;}
-
+
-
+
@@ -3166,7 +3167,7 @@ th { font-weight: bold;}
-
+
@@ -3286,15 +3287,15 @@ th { font-weight: bold;}
-
-
+
+
-
+
diff --git a/workflow/templates/template_invoice.xlsx b/workflow/templates/template_invoice.xlsx
index b3db6f9..b765edf 100644
Binary files a/workflow/templates/template_invoice.xlsx and b/workflow/templates/template_invoice.xlsx differ