office-dynamixs-ai/doc/modelling-decision.bpmn
2026-01-02 15:18:56 +01:00

245 lines
14 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: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:extensionElements>
<open-bpmn:auto-align>true</open-bpmn:auto-align>
</bpmn2:extensionElements>
</bpmn2:process>
<bpmn2:process definitionalCollaborationRef="collaboration_1" id="process_sMc7Dg" isExecutable="true" name="Quotation" processType="Private">
<bpmn2:intermediateCatchEvent id="event_niedQQ" imixs:activityid="10" name="✅ Lgistic Management">
<bpmn2:documentation id="documentation_MBhkPQ"/>
<bpmn2:incoming>sequenceFlow_awxpAw</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_0r2GvA</bpmn2:outgoing>
<bpmn2:signalEventDefinition id="signalEventDefinition_INWMRA" signalRef="signal_1"/>
</bpmn2:intermediateCatchEvent>
<bpmn2:textAnnotation id="textAnnotation_0at23Q" textFormat="">
<bpmn2:text id="text_wUjgfQ"><![CDATA[☑️ You are evaluating a business rule for a workflow decision.
Rule to evaluate: "{natural_language_condition}"
Process Context:
{process_variables_json}
Document Summary:
{summary_text}
Respond with exactly one word: true or false]]></bpmn2:text>
<bpmn2:documentation id="documentation_IG9UoA"/>
</bpmn2:textAnnotation>
<bpmn2:task id="task_L133Xw" imixs:processid="200" name="&#128196; Invoice Processing">
<bpmn2:extensionElements/>
<bpmn2:documentation id="documentation_ramFEg"/>
<bpmn2:incoming>sequenceFlow_xzsTOg</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_vjN4ow</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:intermediateThrowEvent id="event_5pszBQ" name="♻ Continue">
<bpmn2:documentation id="documentation_AaXe9w"/>
<bpmn2:incoming>sequenceFlow_j8lGIw</bpmn2:incoming>
<bpmn2:linkEventDefinition id="linkEventDefinition_v0KICg"/>
</bpmn2:intermediateThrowEvent>
<bpmn2:sequenceFlow id="sequenceFlow_xzsTOg" sourceRef="event_rj5hpg" targetRef="task_L133Xw">
<bpmn2:documentation id="documentation_3oNU0w"/>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="sequenceFlow_vjN4ow" sourceRef="task_L133Xw" targetRef="gateway_ecl5PA">
<bpmn2:documentation id="documentation_a90yew"/>
</bpmn2:sequenceFlow>
<bpmn2:intermediateCatchEvent id="event_coOKbw" imixs:activityid="10" name="✅ Customer Managmeent">
<bpmn2:documentation id="documentation_vejT4Q"/>
<bpmn2:incoming>sequenceFlow_0cRjFA</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_j8lGIw</bpmn2:outgoing>
<bpmn2:signalEventDefinition id="signalEventDefinition_cZ2P5Q" signalRef="signal_1"/>
</bpmn2:intermediateCatchEvent>
<bpmn2:sequenceFlow id="sequenceFlow_j8lGIw" sourceRef="event_coOKbw" targetRef="event_5pszBQ">
<bpmn2:documentation id="documentation_z2uUIQ"/>
</bpmn2:sequenceFlow>
<bpmn2:startEvent id="event_rj5hpg" name="Start">
<bpmn2:documentation id="documentation_iaOvqQ"/>
<bpmn2:outgoing>sequenceFlow_xzsTOg</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:exclusiveGateway gatewayDirection="Diverging" id="gateway_ecl5PA" name="">
<bpmn2:documentation id="documentation_BG9knA"/>
<bpmn2:incoming>sequenceFlow_vjN4ow</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_awxpAw</bpmn2:outgoing>
<bpmn2:outgoing>sequenceFlow_sOfHQg</bpmn2:outgoing>
<bpmn2:outgoing>sequenceFlow_0cRjFA</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="sequenceFlow_awxpAw" name=" Delivery non-EU country?" sourceRef="gateway_ecl5PA" targetRef="event_niedQQ">
<bpmn2:documentation id="documentation_0VpxLQ"/>
</bpmn2:sequenceFlow>
<bpmn2:intermediateCatchEvent id="event_R70aTA" imixs:activityid="10" name="✅ Risk Managmeent">
<bpmn2:documentation id="documentation_M4lPVQ"/>
<bpmn2:incoming>sequenceFlow_sOfHQg</bpmn2:incoming>
<bpmn2:outgoing>sequenceFlow_ZfBKRA</bpmn2:outgoing>
<bpmn2:signalEventDefinition id="signalEventDefinition_s6Zhow" signalRef="signal_1"/>
</bpmn2:intermediateCatchEvent>
<bpmn2:sequenceFlow id="sequenceFlow_sOfHQg" name="Customer classified as high-risk?" sourceRef="gateway_ecl5PA" targetRef="event_R70aTA">
<bpmn2:documentation id="documentation_Q1iCJQ"/>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="sequenceFlow_0cRjFA" name="exceed the approval threshold?" sourceRef="gateway_ecl5PA" targetRef="event_coOKbw">
<bpmn2:documentation id="documentation_2oh4hQ"/>
</bpmn2:sequenceFlow>
<bpmn2:intermediateThrowEvent id="event_3AirVQ" name="♻ Continue">
<bpmn2:documentation id="documentation_hNsrLw"/>
<bpmn2:incoming>sequenceFlow_ZfBKRA</bpmn2:incoming>
<bpmn2:linkEventDefinition id="linkEventDefinition_8orPzg"/>
</bpmn2:intermediateThrowEvent>
<bpmn2:intermediateThrowEvent id="event_wOWZhA" name="♻ Continue">
<bpmn2:documentation id="documentation_iBmiaA"/>
<bpmn2:incoming>sequenceFlow_0r2GvA</bpmn2:incoming>
<bpmn2:linkEventDefinition id="linkEventDefinition_T4EjUg"/>
</bpmn2:intermediateThrowEvent>
<bpmn2:sequenceFlow id="sequenceFlow_0r2GvA" sourceRef="event_niedQQ" targetRef="event_wOWZhA">
<bpmn2:documentation id="documentation_Vf0FuQ"/>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="sequenceFlow_ZfBKRA" sourceRef="event_R70aTA" targetRef="event_3AirVQ">
<bpmn2:documentation id="documentation_aKw5nQ"/>
</bpmn2:sequenceFlow>
<bpmn2:association id="association_4N5Ntg" sourceRef="textAnnotation_0at23Q" targetRef="task_L133Xw">
<bpmn2:documentation id="documentation_YGHJkA"/>
</bpmn2:association>
</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="participant_x0L42g" id="BPMNShape_D38FhA">
<dc:Bounds height="210.0" width="800.0" x="0.0" y="0.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_5pszBQ" id="BPMNShape_eCqWQw">
<dc:Bounds height="36.0" width="36.0" x="1077.0" y="527.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_0AKR2g">
<dc:Bounds height="20.0" width="100.0" x="1045.0" y="566.0"/>
</bpmndi:BPMNLabel>
</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_niedQQ" id="BPMNShape_TjS4HQ">
<dc:Bounds height="36.0" width="36.0" x="947.0" y="337.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_KXscdQ">
<dc:Bounds height="20.0" width="100.0" x="915.0" y="376.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="textAnnotation_0at23Q" id="BPMNShape_iHgbbQ">
<dc:Bounds height="226.0" width="314.0" x="190.0" y="160.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_coOKbw" id="BPMNShape_xl46Xg">
<dc:Bounds height="36.0" width="36.0" x="947.0" y="527.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_C7HeYQ">
<dc:Bounds height="20.0" width="100.0" x="915.0" y="566.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_rj5hpg" id="BPMNShape_l3trNA">
<dc:Bounds height="36.0" width="36.0" x="247.0" y="427.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_EeFhIA">
<dc:Bounds height="20.0" width="100.0" x="215.0" y="466.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="gateway_ecl5PA" id="BPMNShape_IdIloA">
<dc:Bounds height="50.0" width="50.0" x="540.0" y="420.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_DFklPg">
<dc:Bounds height="20.0" width="100.0" x="515.0" y="473.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="task_L133Xw" id="BPMNShape_YZRbHw">
<dc:Bounds height="50.0" width="110.0" x="350.0" y="420.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_R70aTA" id="BPMNShape_sjgweA">
<dc:Bounds height="36.0" width="36.0" x="947.0" y="427.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_aNkYbg">
<dc:Bounds height="20.0" width="100.0" x="915.0" y="466.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_3AirVQ" id="BPMNShape_12HUnA">
<dc:Bounds height="36.0" width="36.0" x="1077.0" y="427.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_00JY6A">
<dc:Bounds height="20.0" width="100.0" x="1045.0" y="466.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="event_wOWZhA" id="BPMNShape_T52I0w">
<dc:Bounds height="36.0" width="36.0" x="1077.0" y="337.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_eaxg8g">
<dc:Bounds height="20.0" width="100.0" x="1045.0" y="376.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_xzsTOg" id="BPMNEdge_ToVbEg" sourceElement="BPMNShape_l3trNA" targetElement="BPMNShape_YZRbHw">
<di:waypoint x="283.0" y="445.0"/>
<di:waypoint x="350.0" y="445.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_vjN4ow" id="BPMNEdge_L0VhCw" sourceElement="BPMNShape_YZRbHw" targetElement="BPMNShape_IdIloA">
<di:waypoint x="460.0" y="445.0"/>
<di:waypoint x="540.0" y="445.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_j8lGIw" id="BPMNEdge_j9b58A" sourceElement="BPMNShape_xl46Xg" targetElement="BPMNShape_eCqWQw">
<di:waypoint x="983.0" y="545.0"/>
<di:waypoint x="1077.0" y="545.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_awxpAw" id="BPMNEdge_l7orLg" sourceElement="BPMNShape_IdIloA" targetElement="BPMNShape_TjS4HQ">
<di:waypoint x="566.0" y="421.0"/>
<di:waypoint x="566.0" y="355.0"/>
<di:waypoint x="947.0" y="355.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_sOfHQg" id="BPMNEdge_4Mji4w" sourceElement="BPMNShape_IdIloA" targetElement="BPMNShape_sjgweA">
<di:waypoint x="590.0" y="445.0"/>
<di:waypoint x="945.0" y="445.0"/>
<di:waypoint x="947.0" y="445.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_0cRjFA" id="BPMNEdge_MN3yxg" sourceElement="BPMNShape_IdIloA" targetElement="BPMNShape_xl46Xg">
<di:waypoint x="564.0" y="469.0"/>
<di:waypoint x="564.0" y="545.0"/>
<di:waypoint x="947.0" y="545.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_0r2GvA" id="BPMNEdge_n0l9lg" sourceElement="BPMNShape_TjS4HQ" targetElement="BPMNShape_T52I0w">
<di:waypoint x="983.0" y="355.0"/>
<di:waypoint x="1077.0" y="355.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_ZfBKRA" id="BPMNEdge_1Bsm3g" sourceElement="BPMNShape_sjgweA" targetElement="BPMNShape_12HUnA">
<di:waypoint x="983.0" y="445.0"/>
<di:waypoint x="1077.0" y="445.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="association_4N5Ntg" id="BPMNEdge_90T50Q" sourceElement="BPMNShape_iHgbbQ" targetElement="BPMNShape_YZRbHw">
<di:waypoint x="349.0" y="386.0"/>
<di:waypoint x="349.0" y="398.0"/>
<di:waypoint x="405.0" y="398.0"/>
<di:waypoint x="405.0" y="420.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>