From 4616e5bac631b7379ef6b1805912ad4a905267d8 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Mon, 8 Dec 2025 17:06:45 +0100 Subject: [PATCH] update offer workflow --- demo/Safari - Technical Equipment.eml | 145 + dynamixs-ai-app/pom.xml | 4 +- .../ai/dynamixs/api/TestWorkfklowClient.java | 13 +- pom.xml | 18 +- workflow/en/offer-en-1.0.1.bpmn | 2442 +++++++++++++++++ 5 files changed, 2603 insertions(+), 19 deletions(-) create mode 100644 demo/Safari - Technical Equipment.eml create mode 100644 workflow/en/offer-en-1.0.1.bpmn diff --git a/demo/Safari - Technical Equipment.eml b/demo/Safari - Technical Equipment.eml new file mode 100644 index 0000000..33e591b --- /dev/null +++ b/demo/Safari - Technical Equipment.eml @@ -0,0 +1,145 @@ +Return-Path: +Received: from www149.your-server.de + by www149.your-server.de with LMTP + id QNG2N0fxNmlPIwAAEHZ0Fg + (envelope-from ); Mon, 08 Dec 2025 16:39:51 +0100 +Envelope-to: ralph.soika@imixs.com +Delivery-date: Mon, 08 Dec 2025 16:39:51 +0100 +Authentication-Results: www149.your-server.de; + iprev=pass (localhost) smtp.remote-ip=127.0.0.1; + spf=pass smtp.mailfrom=imixs.com; + dkim=pass header.d=imixs.com header.s=default2210 header.a=rsa-sha256; + dmarc=skipped +Received: from localhost ([127.0.0.1] helo=www149.your-server.de) + by www149.your-server.de with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 + (Exim 4.96.2) + (envelope-from ) + id 1vSdL5-0002hZ-2v + for ralph.soika@imixs.com; + Mon, 08 Dec 2025 16:39:51 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=imixs.com; + s=default2210; h=Subject:From:To:MIME-Version:Date:Message-ID:Content-Type: + Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: + Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: + In-Reply-To:References; bh=HSDhmVNPphiRTJ3EaCj2AUYMw4jkjFaq82lZEtIZHCk=; b=QK + zsC7YLCOKceUiBcvJHyVSKTyJrK9KTDDSMFmmOmpDFksoZ/1gQVg/E8ib8No2/Cy10BH45Xd87HFY + lLsEyodK9iAzo7oh8g9I3IgokIr7D0B8SbmQ7oFK7oV/Psf1+HZJa1lYnX6ZrKErv/tMUP9aMMOn8 + jCkVhmMlx0qp7w9fsdiYF5w7tpTtlyhI+SBhCXsHclusjQCcEgJ4Gsf8FoDCets5eNM7zGP8d6/5J + mrEOOn37ccXwrwnaYByixNd4CmijGd2KqmeOsUZunvXZ/xRsxPaTfzo6S1Qg7ZGrc4h81n2RO7ELh + CCYSWAGSQ/FIj8vQCh87+af2C6jZTi5A==; +Received: from sslproxy03.your-server.de ([88.198.220.132]) + by www149.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 + (Exim 4.96.2) + (envelope-from ) + id 1vSdL5-0002hT-2N + for ralph.soika@imixs.com; + Mon, 08 Dec 2025 16:39:51 +0100 +Received: from localhost ([127.0.0.1]) + by sslproxy03.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 + (Exim 4.96) + (envelope-from ) + id 1vSdL5-000FrD-0p + for ralph.soika@imixs.com; + Mon, 08 Dec 2025 16:39:51 +0100 +Content-Type: multipart/alternative; + boundary="------------Zg39iUMO5HLmSmZyZQvuDTJA" +Message-ID: <4e7e8e36-4fa5-495e-9927-ea0ae74abb55@imixs.com> +Date: Mon, 8 Dec 2025 16:39:51 +0100 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US, de-DE +To: ralph.soika@imixs.com +From: Ralph Soika +Subject: Safari - Technical Equipment +X-Virus-Scanned: Clear (ClamAV 1.0.9/27844/Mon Dec 8 10:13:49 2025) +X-DKIM-Status: pass [(imixs.com) - 127.0.0.1] +Delivered-To: ralph.soika@imixs.com + +This is a multi-part message in MIME format. +--------------Zg39iUMO5HLmSmZyZQvuDTJA +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 8bit + +Dear Sales Department, +I am a biologist planning a research expedition to Tanzania to study the +behavior of wild zebras in their natural habitat. For this project, I am +looking for a suitable +drone platform equipped with sensors and components that can operate +reliably under field conditions. +Specifically, I am interested in: +-A drone capable of stable flight at medium altitude (30–100 meters) +with minimal noise to avoid disturbing animals. +-High-resolution optical and/or thermal imaging sensors for observing +animal movement and behavior. +-GPS and telemetry systems for accurate positioning and flight path +tracking. +-Long battery life or modular battery options for extended operation in +remote areas. +-Compatibility with environmental sensors (e.g., temperature, humidity) +would be a plus. +Could you please provide information about suitable drone systems or +components, including specifications, pricing, and availability? If +custom configurations are possible, I would appreciate your +recommendations based on the above requirements. +Thank you very much for your time and support. I look forward to your +response. +Kind regards, Biologist / Researcher + + +-- + +*TechBridge Tokyo * +*Web:* www.techbridge.com *Phone:* +49 +(0)89-452136 16 +*Timezone:* JP/Tokio - CET/CEST +*Office:* Shinjuku Center Building 1-25-1 + + +--------------Zg39iUMO5HLmSmZyZQvuDTJA +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + + + + + + +
Dear Sales Department,
+
I am a biologist planning a research expedition to Tanzania to study the behavior of wild zebras in their natural habitat. For this project, I am looking for a suitable
drone platform equipped with sensors and components that can operate reliably under field conditions.
+
Specifically, I am interested in:
+
- A drone capable of stable flight at medium altitude (30–100 meters) with minimal noise to avoid disturbing animals.
- High-resolution optical and/or thermal imaging sensors for observing animal movement and behavior.
- GPS and telemetry systems for accurate positioning and flight path tracking.
- Long battery life or modular battery options for extended operation in remote areas.
- Compatibility with environmental sensors (e.g., temperature, humidity) would be a plus.
+
Could you please provide information about suitable drone systems or components, including specifications, pricing, and availability? If custom configurations are possible, I would appreciate your recommendations based on the above requirements.
+
Thank you very much for your time and support. I look forward to your response.
+
Kind regards, Biologist / Researcher
+ +
+
+


+

+
--
+

TechBridge + Tokyo 
+ Web: www.techbridge.com Phone: + +49 (0)89-452136 16
+ Timezone: JP/Tokio - CET/CEST
+ Office: Shinjuku Center Building 1-25-1

+


+

+
+ + + +--------------Zg39iUMO5HLmSmZyZQvuDTJA-- diff --git a/dynamixs-ai-app/pom.xml b/dynamixs-ai-app/pom.xml index 1835046..658c784 100644 --- a/dynamixs-ai-app/pom.xml +++ b/dynamixs-ai-app/pom.xml @@ -55,14 +55,14 @@ org.imixs.security imixs-oidc - 3.0.0 + ${org.imixs.security.version} jar compile org.imixs.security imixs-oidc-marty - 3.0.0 + ${org.imixs.security.version} jar compile diff --git a/dynamixs-ai-app/src/test/java/ai/dynamixs/api/TestWorkfklowClient.java b/dynamixs-ai-app/src/test/java/ai/dynamixs/api/TestWorkfklowClient.java index 6c9879c..1a0934d 100644 --- a/dynamixs-ai-app/src/test/java/ai/dynamixs/api/TestWorkfklowClient.java +++ b/dynamixs-ai-app/src/test/java/ai/dynamixs/api/TestWorkfklowClient.java @@ -72,13 +72,13 @@ public class TestWorkfklowClient { // @Disabled @Test public void testGetDocumentOIDC() { - + baseURL = "https://demo.dynamixs.ai/api/"; try { // Keycloak String tokenEndpoint = "https://login.dynamixs.ai/realms/dynamixsai/protocol/openid-connect/token"; OIDCAuthenticator auth = new OIDCAuthenticator( tokenEndpoint, "dynamixs.ai.demo", "X1rogvjA3mg854pZL4Q0JKAblU3kTnHM", "rsoika", "ne-pt-un"); - + auth.setDebug(true); WorkflowClient workflowCLient = new WorkflowClient(baseURL); workflowCLient.registerClientRequestFilter(auth); @@ -87,10 +87,11 @@ public class TestWorkfklowClient { List result = workflowCLient.getTaskListByOwner(null); assertNotNull(result); - document = result.get(0); - - // compare result with test data - assertNotNull(document); + if (result.size() > 0) { + // load first result + document = result.get(0); + assertNotNull(document); + } } catch (RestAPIException e) { fail(e.getMessage()); } diff --git a/pom.xml b/pom.xml index 48ab79b..2f300e0 100644 --- a/pom.xml +++ b/pom.xml @@ -70,13 +70,14 @@ 6.2.5-SNAPSHOT 5.1.6-SNAPSHOT 1.0.2-SNAPSHOT - 3.1.3 + 3.1.5-SNAPSHOT 5.1.0 - 3.2.1-SNAPSHOT + 3.2.2-SNAPSHOT 1.1.4-SNAPSHOT 1.0.0-SNAPSHOT 1.0.0 2.1.1-SNAPSHOT + 3.0.1-SNAPSHOT 9.9.1-4 2.0.24 @@ -308,13 +309,14 @@ - org.imixs.workflow - imixs-signature-api - ${org.imixs.signature.version} + imixs-melman + ${org.imixs.melman.version} + compile + org.imixs.workflow @@ -468,12 +470,6 @@ 5.2.1 test - - org.imixs.workflow - imixs-melman - ${org.imixs.melman.version} - test - \ No newline at end of file diff --git a/workflow/en/offer-en-1.0.1.bpmn b/workflow/en/offer-en-1.0.1.bpmn new file mode 100644 index 0000000..3fd6d58 --- /dev/null +++ b/workflow/en/offer-en-1.0.1.bpmn @@ -0,0 +1,2442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + Task_2 + StartEvent_1 + + DataObject_2 + dataObject_axJA7Q + task_ol2R9A + event_P1MFZQ + event_NLZbsw + task_0THxmg + event_KwpMKw + dataObject_iq4agg + dataObject_g68BvQ + event_8dt92Q + event_z9ZfGA + task_HL0KNA + event_ZdM0Zg + event_sZERLw + dataObject_80W0PA + event_niR0HA + event_LHADMg + + + + Task_3 + Task_4 + Task_5 + Task_1 + Task_6 + EndEvent_2 + IntermediateCatchEvent_17 + IntermediateCatchEvent_4 + IntermediateCatchEvent_6 + IntermediateCatchEvent_7 + IntermediateCatchEvent_8 + IntermediateCatchEvent_9 + IntermediateCatchEvent_10 + event_EyDvQQ + EventBasedGateway_1 + ExclusiveGateway_2 + TextAnnotation_4 + dataObject_u4ZytA + + + + + sequenceFlow_8NDJxA + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_UIpo9Q + sequenceFlow_ytbNEQ + sequenceFlow_8NDJxA +
+ + + + + + + + + + + + + + + + + + + + +]]> + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_42 + sequenceFlow_HCxYvw + sequenceFlow_RppP5Q + sequenceFlow_ZtZaBQ +
+ + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_17 + SequenceFlow_40 + SequenceFlow_19 + SequenceFlow_25 +
+ + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + _name (EAN: _ean) Preis: _price _currency]]> + + + true + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_21 + SequenceFlow_47 +
+ + SequenceFlow_47 + SequenceFlow_22 + + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home + + + Send offer after approval to customer This action moves the offer to the processing stage 'ordered' + offer, order, send, e-mail + Send out offer to customer + Inform customer about our new offer +]]> + + + + + + + + + + + + false + + + + SequenceFlow_56 + sequenceFlow_HCxYvw + + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + SequenceFlow_19 + SequenceFlow_27 + SequenceFlow_21 + + + + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + _name (EAN: _ean) Preis: _price _currency]]> + + + true + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_26 + SequenceFlow_23 + SequenceFlow_36 +
+ + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + order.delivery]]> + + + false + + + + + + + + + + + + + + + SequenceFlow_25 + SequenceFlow_26 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + SequenceFlow_36 + SequenceFlow_39 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + SequenceFlow_17 + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + _name (EAN: _ean) Preis: _price _currency]]> + + + true + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_41 + SequenceFlow_22 +
+ + + + + SequenceFlow_23 + SequenceFlow_27 + SequenceFlow_34 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_34 + SequenceFlow_41 + + + + + + SequenceFlow_56 + SequenceFlow_39 + SequenceFlow_40 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + SequenceFlow_42 + + + + + + + + + + + + + + + + + + {} + request.subject + +^.+\.eml$ +]]]]> + + ]]> + + + + + + + + + + + + + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_WRPdIA + sequenceFlow_4DUFiA + sequenceFlow_hkBSvg + sequenceFlow_0Q20mA +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://embeddings.llama.cpp.imixs.com/ + customer.ref + true + +]]> + + + + + + + + + + + + false + + + + + sequenceFlow_0Q20mA + sequenceFlow_InfPdQ + sequenceFlow_hZg0iw + + + + + sequenceFlow_InfPdQ + + + + + + + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_4DUFiA + sequenceFlow_HGD9Yw + sequenceFlow_HfDRCQ + sequenceFlow_BM0t3w +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + llm.service.endpoint + {"n_predict": 4096, "temperature": 0} + offer.proposal + true + +false +]]> + + + + + + + + + + + + false + + + + sequenceFlow_AUsmbQ + + sequenceFlow_InfPdQ + sequenceFlow_RppP5Q + + + + + + + + + + + + + + {"n_predict": 4096, "temperature": 0.3, "top_p": 0.9} + customer.firstname +Lastname: customer.lastname +E-Mail: customer.email + +request.description + +## Product Selection + +The following products are relevant for the current request: + + +Product: product.name +Category: product.category / product.subcategory +Price: product.price _currency +Product Details: +product.description + +----------------------------------------------------------------------------- + + +]]]]> + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + sequenceFlow_ZtZaBQ + sequenceFlow_ytbNEQ + + + + + + + + + + + {"n_predict": 4096, "temperature": 0} + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + sequenceFlow_vd940Q + sequenceFlow_UIpo9Q + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X-Tika-OCRLanguage=eng+deu +X-Tika-PDFocrStrategy=OCR_ONLY +(PDF|pdf)$ +20 +]]> + + + + + + + + + + + + false + + + + sequenceFlow_4DUFiA + + sequenceFlow_vd940Q + + + + + + + + Product: _name
+EAN: _ean
+Category: _category
+Brand: _brand
+
+Description:
+_description
+
+Price: _price _currency
+Stock: _stock
+Size: _size
+Color: _color
+]]>
+
+ + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + +
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_WRPdIA + sequenceFlow_hZg0iw + sequenceFlow_kkTZbA +
+ + + sequenceFlow_6UcPtw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://embeddings.llama.cpp.imixs.com/ + product.ref + true + +]]> + + + + + + + + + + + + false + + + + sequenceFlow_kkTZbA + sequenceFlow_6UcPtw + sequenceFlow_HGD9Yw + + sequenceFlow_InfPdQ + + + + + {} + request.subject + +^.+\.eml$ +]]]]> + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + sequenceFlow_HfDRCQ + sequenceFlow_AUsmbQ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + sequenceFlow_BM0t3w + sequenceFlow_hkBSvg + + + + + + + + + + + + + + + + + +
+ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +