office-dynamixs-ai/workflow/demo/trusted-context.bpmn
2025-07-28 23:22:28 +02:00

172 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:BPMN2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:imixs="http://www.imixs.org/bpmn2" xmlns:open-bpmn="http://open-bpmn.org/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="org.openbpmn" exporterVersion="1.0.0" targetNamespace="http://open-bpmn.org">
<bpmn2:collaboration id="collaboration_1" name="Default Collaboration">
<bpmn2:participant id="participant_x0L42g" name="Default Process" processRef="process_1"/>
<bpmn2:participant id="participant_tRnOVw" name="Quotation" processRef="process_sMc7Dg">
<bpmn2:documentation id="documentation_vx4Wdw"/>
</bpmn2:participant>
<bpmn2:messageFlow id="messageFlow_9Y7D6Q" name="&#128259; Update Data" sourceRef="task_fT6BKQ" targetRef="dataStoreReference_Ye24pw">
<bpmn2:documentation id="documentation_h3tT0w"/>
</bpmn2:messageFlow>
<bpmn2:messageFlow id="messageFlow_HNJFCA" name="&#128274; Validate" sourceRef="dataStoreReference_Ye24pw" targetRef="task_drhWQg">
<bpmn2:documentation id="documentation_iBNWUQ"/>
</bpmn2:messageFlow>
<bpmn2:messageFlow id="messageFlow_BEmE8A" name="&#128274; Retrieve Data" sourceRef="dataStoreReference_Ye24pw" targetRef="task_tXh3Mg">
<bpmn2:documentation id="documentation_ISJdpA"/>
</bpmn2:messageFlow>
</bpmn2:collaboration>
<bpmn2:extensionElements>
<open-bpmn:auto-align>true</open-bpmn:auto-align>
<imixs:item name="txtworkflowmodelversion" type="xs:string">
<imixs:value><![CDATA[default-en-1.0]]></imixs:value>
</imixs:item>
<imixs:item name="txtplugins" type="xs:string">
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.RulePlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.SplitAndJoinPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.OwnerPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ApproverPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.HistoryPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ApplicationPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.IntervalPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.MailPlugin]]></imixs:value>
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ResultPlugin]]></imixs:value>
</imixs:item>
<imixs:item name="txtfieldmapping" type="xs:string">
<imixs:value><![CDATA[Creator|$creator]]></imixs:value>
<imixs:value><![CDATA[Owner|$owner]]></imixs:value>
<imixs:value><![CDATA[Editor|$editor]]></imixs:value>
</imixs:item>
</bpmn2:extensionElements>
<bpmn2:process definitionalCollaborationRef="collaboration_1" id="process_1" name="Default Process" processType="Public">
<bpmn2:documentation id="documentation_yIE0cQ"/>
</bpmn2:process>
<bpmn2:process definitionalCollaborationRef="collaboration_1" id="process_sMc7Dg" isExecutable="true" name="Quotation" processType="Private">
<bpmn2:startEvent id="event_B7i9Iw" name="Start">
<bpmn2:documentation id="documentation_FnoiYQ"/>
<bpmn2:outgoing>sequenceFlow_G5Kd1Q</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:task id="task_tXh3Mg" imixs:processid="100" name="Create Quotation">
<bpmn2:documentation id="documentation_grs3zw"/>
<bpmn2:incoming>sequenceFlow_G5Kd1Q</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_KPMr9A</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="sequenceFlow_G5Kd1Q" sourceRef="event_B7i9Iw" targetRef="task_tXh3Mg">
<bpmn2:documentation id="documentation_DezAuA"/>
</bpmn2:sequenceFlow>
<bpmn2:task id="task_drhWQg" imixs:processid="200" name="Check Quotation">
<bpmn2:extensionElements/>
<bpmn2:documentation id="documentation_smS8pw"/>
<bpmn2:incoming>sequenceFlow_KPMr9A</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_FmLNoQ</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:endEvent id="event_lKuUKA" name="End">
<bpmn2:documentation id="documentation_nPmhng"/>
<bpmn2:incoming>sequenceFlow_zcdtZQ</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:textAnnotation id="textAnnotation_ZxESNw" textFormat="">
<bpmn2:text id="text_esKORQ"><![CDATA[☑️ RAG - Retrieval Augmented Generation
- 📦 Knowing the Context
- 🚦 Validate related Data
- 🔐 Data Protection Rules
]]></bpmn2:text>
<bpmn2:documentation id="documentation_zYCcyQ"/>
</bpmn2:textAnnotation>
<bpmn2:dataStoreReference id="dataStoreReference_Ye24pw" name="KI Knowledge Base">
<bpmn2:documentation id="documentation_LI194g"/>
</bpmn2:dataStoreReference>
<bpmn2:task id="task_fT6BKQ" imixs:processid="300" name="Send Quotation">
<bpmn2:extensionElements/>
<bpmn2:documentation id="documentation_PuUamQ"/>
<bpmn2:outgoing>sequenceFlow_zcdtZQ</bpmn2:outgoing>
<bpmn2:incoming>sequenceFlow_FmLNoQ</bpmn2:incoming>
<bpmn2:outgoing>messageFlow_9Y7D6Q</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="sequenceFlow_KPMr9A" sourceRef="task_tXh3Mg" targetRef="task_drhWQg">
<bpmn2:documentation id="documentation_NJ2R5Q"/>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="sequenceFlow_zcdtZQ" sourceRef="task_fT6BKQ" targetRef="event_lKuUKA">
<bpmn2:documentation id="documentation_cndNgg"/>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="sequenceFlow_FmLNoQ" sourceRef="task_drhWQg" targetRef="task_fT6BKQ">
<bpmn2:documentation id="documentation_Uj7ETA"/>
</bpmn2:sequenceFlow>
</bpmn2:process>
<bpmn2:message id="message_1" name="Message 1">
<bpmn2:documentation id="documentation_KTfSFQ"/>
</bpmn2:message>
<bpmn2:signal id="signal_1" name="Signal 1"/>
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="OpenBPMN Diagram">
<bpmndi:BPMNPlane bpmnElement="collaboration_1" id="BPMNPlane_1">
<bpmndi:BPMNShape bpmnElement="participant_tRnOVw" id="BPMNShape_j8YiYQ">
<dc:Bounds height="760.0" width="2500.0" x="90.0" y="130.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_B7i9Iw" id="BPMNShape_hXLmag">
<dc:Bounds height="36.0" width="36.0" x="347.0" y="457.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_IfL9fg">
<dc:Bounds height="20.0" width="100.0" x="315.0" y="496.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="task_tXh3Mg" id="BPMNShape_eyKNaw">
<dc:Bounds height="50.0" width="110.0" x="440.0" y="450.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_G5Kd1Q" id="BPMNEdge_Z24kGg" sourceElement="BPMNShape_hXLmag" targetElement="BPMNShape_eyKNaw">
<di:waypoint x="383.0" y="475.0"/>
<di:waypoint x="440.0" y="475.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape bpmnElement="task_drhWQg" id="BPMNShape_ugDfgg">
<dc:Bounds height="50.0" width="110.0" x="670.0" y="450.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="message_1" id="BPMNShape_6VlRkw">
<dc:Bounds height="20.0" width="30.0" x="130.0" y="30.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_FxvxBA">
<dc:Bounds height="20.0" width="100.0" x="95.0" y="55.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_lKuUKA" id="BPMNShape_A70Bjg">
<dc:Bounds height="36.0" width="36.0" x="1137.0" y="457.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_dnMX0Q">
<dc:Bounds height="20.0" width="100.0" x="1106.0" y="496.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="textAnnotation_ZxESNw" id="BPMNShape_94nhEw">
<dc:Bounds height="79.0" width="281.0" x="590.0" y="320.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="dataStoreReference_Ye24pw" id="BPMNShape_acaBlQ">
<dc:Bounds height="50.0" width="50.0" x="700.0" y="650.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_XhqisQ">
<dc:Bounds height="20.0" width="100.0" x="675.0" y="700.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="messageFlow_9Y7D6Q" id="BPMNEdge_MU00rg" sourceElement="BPMNShape_s9nrlg" targetElement="BPMNShape_acaBlQ">
<di:waypoint x="936.0" y="500.0"/>
<di:waypoint x="936.0" y="675.0"/>
<di:waypoint x="750.0" y="675.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape bpmnElement="task_fT6BKQ" id="BPMNShape_s9nrlg">
<dc:Bounds height="50.0" width="110.0" x="910.0" y="450.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="messageFlow_HNJFCA" id="BPMNEdge_zFyVOQ" sourceElement="BPMNShape_acaBlQ" targetElement="BPMNShape_ugDfgg">
<di:waypoint x="725.0" y="650.0"/>
<di:waypoint x="725.0" y="576.0"/>
<di:waypoint x="725.0" y="500.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_KPMr9A" id="BPMNEdge_i00P2w" sourceElement="BPMNShape_eyKNaw" targetElement="BPMNShape_ugDfgg">
<di:waypoint x="550.0" y="475.0"/>
<di:waypoint x="670.0" y="475.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_zcdtZQ" id="BPMNEdge_gCuJQA" sourceElement="BPMNShape_s9nrlg" targetElement="BPMNShape_A70Bjg">
<di:waypoint x="1020.0" y="475.0"/>
<di:waypoint x="1137.0" y="475.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_FmLNoQ" id="BPMNEdge_V2oy7Q" sourceElement="BPMNShape_ugDfgg" targetElement="BPMNShape_s9nrlg">
<di:waypoint x="780.0" y="475.0"/>
<di:waypoint x="910.0" y="475.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="messageFlow_BEmE8A" id="BPMNEdge_rS5e3w" sourceElement="BPMNShape_acaBlQ" targetElement="BPMNShape_eyKNaw">
<di:waypoint x="700.0" y="675.0"/>
<di:waypoint x="526.0" y="675.0"/>
<di:waypoint x="526.0" y="500.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>