[ELMA 4 CE 4.1.39.11529 R.3506b376d158a6, вчера скачал]
Hi,
Пытался импортировать BPMN процесс из книжки, рекомендованной на сайте (https://www.elma-bpm.ru/journal/prakticheskij-kurs-bpmn-soderzhanie/). Удалось добиться импорта без ошибок. но никаких диаграмм не появилось. В правой панели процессы/подпроцессы перечислены, но основной диаграммы нет. Процесс "Покупатель" прилагаю (PS).
tnx.
PS:
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.example.org/UserTaskExample"
typeLanguage="http://www.w3.org/2001/XMLSchema"
expressionLanguage="http://www.w3.org/1999/XPath"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:tns="http://www.example.org/UserTaskExample">
<resource id="regionalManager" name="Regional Manager">
<resourceParameter id="buyerName" isRequired="true" name="Buyer Name" type="xsd:string"/>
<resourceParameter id="region" isRequired="false" name="Region" type="xsd:string"/>
</resource>
<resource id="departmentalReviewer" name="Departmental Reviewer">
<resourceParameter id="buyerName" isRequired="true" name="Buyer Name" type="xsd:string"/>
</resource>
<collaboration id="BuyerCollaboration" name="Buyer Collaboration">
<participant id="BuyerParticipant" name="Buyer" processRef="BuyerProcess"/>
</collaboration>
<!-- Process definition -->
<process id="BuyerProcess" name="Buyer Process">
<laneSet id="BuyerLaneSet">
<lane id="BuyerLane">
<flowNodeRef>StartProcess</flowNodeRef>
<flowNodeRef>QuotationHandling</flowNodeRef>
<flowNodeRef>ApproveOrder</flowNodeRef>
<flowNodeRef>OrderApprovedDecision</flowNodeRef>
<flowNodeRef>TerminateProcess</flowNodeRef>
<flowNodeRef>OrderAndShipment</flowNodeRef>
<flowNodeRef>OrderHandling</flowNodeRef>
<flowNodeRef>ShipmentHandling</flowNodeRef>
<flowNodeRef>OrderAndShipmentMerge</flowNodeRef>
<flowNodeRef>ReviewOrder</flowNodeRef>
<flowNodeRef>EndProcess</flowNodeRef>
</lane>
</laneSet>
<startEvent id="StartProcess"/>
<sequenceFlow sourceRef="StartProcess" targetRef="QuotationHandling"/>
<task id="QuotationHandling" name="Quotation Handling"/>
<sequenceFlow sourceRef="QuotationHandling" targetRef="ApproveOrder"/>
<userTask id="ApproveOrder" name="ApproveOrder">
<potentialOwner>
<resourceRef>tns:regionalManager</resourceRef>
<resourceParameterBinding parameterRef="tns:buyerName">
<formalExpression>getDataInput('order')/address/name</formalExpression>
</resourceParameterBinding>
<resourceParameterBinding parameterRef="tns:region">
<formalExpression>getDataInput('order')/address/country</formalExpression>
</resourceParameterBinding>
</potentialOwner>
</userTask>
<sequenceFlow sourceRef="ApproveOrder" targetRef="OrderApprovedDecision"/>
<exclusiveGateway id="OrderApprovedDecision" gatewayDirection="Diverging"/>
<sequenceFlow sourceRef="OrderApprovedDecision" targetRef="OrderAndShipment">
<conditionExpression>Was the Order Approved?</conditionExpression>
</sequenceFlow>
<sequenceFlow sourceRef="OrderApprovedDecision" targetRef="TerminateProcess">
<conditionExpression>Was the Order NOT Approved?</conditionExpression>
</sequenceFlow>
<endEvent id="TerminateProcess">
<terminateEventDefinition id="TerminateEvent"/>
</endEvent>
<parallelGateway id="OrderAndShipment" gatewayDirection="Diverging"/>
<sequenceFlow sourceRef="OrderAndShipment" targetRef="OrderHandling"/>
<sequenceFlow sourceRef="OrderAndShipment" targetRef="ShipmentHandling"/>
<task id="OrderHandling" name="Order Handling"/>
<task id="ShipmentHandling" name="Shipment Handling"/>
<sequenceFlow sourceRef="OrderHandling" targetRef="OrderAndShipmentMerge"/>
<sequenceFlow sourceRef="ShipmentHandling" targetRef="OrderAndShipmentMerge"/>
<parallelGateway id="OrderAndShipmentMerge" gatewayDirection="Converging"/>
<sequenceFlow sourceRef="OrderAndShipmentMerge" targetRef="ReviewOrder"/>
<userTask id="ReviewOrder" name="Review Order">
<potentialOwner>
<resourceRef>tns:departmentalReviewer</resourceRef>
<resourceParameterBinding parameterRef="tns:buyerName">
<formalExpression>getDataInput('order')/address/name</formalExpression>
</resourceParameterBinding>
</potentialOwner>
</userTask>
<sequenceFlow sourceRef="ReviewOrder" targetRef="EndProcess"/>
<endEvent id="EndProcess"/>
</process>
</definitions>
Последнее редактирование: 13 ноя 2023