04-18-2011 07:20 PM
04-19-2011 04:50 AM
04-19-2011 11:20 AM
04-19-2011 01:49 PM
04-19-2011 04:01 PM
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn"
targetNamespace="http://www.activiti.org/bpmn2.0">
<process name="Process" id="myProcess">
<startEvent id="theStart" name="" />
<sequenceFlow id="flow1" name="" sourceRef="theStart"
targetRef="saveE" />
<serviceTask id="saveE" name="Save E"
activiti:expression="${myService.saveE(bpo,usage)}"
activiti:resultVariableName="bpo" />
<sequenceFlow id="flow2" name="" sourceRef="saveE"
targetRef="buildBPO" />
<serviceTask id="buildBPO" name="Build BPO Object"
activiti:expression="${myService.buildBPO(bpo)}"
activiti:resultVariableName="bpo" />
<sequenceFlow id="flow3" name="" sourceRef="buildBPO"
targetRef="validateBPO" />
<serviceTask id="validateBPO" name="Validate BPO Object"
activiti:expression="${myService.validateBPO(bpo)}"
activiti:resultVariableName="bpo" />
<sequenceFlow id="flow4" name="" sourceRef="validateBPO"
targetRef="saveError" />
<exclusiveGateway gatewayDirection="Diverging" id="saveError"
name="" />
<sequenceFlow id="flowsp" name="" sourceRef="saveError"
targetRef="subError">
<conditionExpression>${bpo.isError==true}</conditionExpression>
</sequenceFlow>
<subProcess id="subError">
<startEvent id="subProcessStart" name="" />
<!– Create the Incidence –>
<sequenceFlow id="flowsp0" name="" sourceRef="subProcessStart"
targetRef="createIncidenceTransactional" />
<serviceTask id="createIncidenceTransactional" name="Save U"
activiti:expression="${myService.createIncidenceTransactional(bpo)}"
activiti:resultVariableName="bpo" />
<!– Obtaining all the parameters –>
<sequenceFlow id="flowsp1" name="" sourceRef="createIncidenceTransactional"
targetRef="saveParameterProcedureValue" />
<serviceTask id="saveParameterProcedureValue" name="Save Parameter Procedure Values"
activiti:expression="${myService.saveParameterProcedureValue(bpo)}"
activiti:resultVariableName="bpo" />
<!– Wait for a Operator problem's resolution –>
<sequenceFlow id="flowsp2" name=""
sourceRef="saveParameterProcedureValue" targetRef="errorFixed" />
<userTask id="errorFixed" name="Error Fixed">
</userTask>
<sequenceFlow id="flowsp3" name="" sourceRef="errorFixed"
targetRef="subProcessEnd" />
<endEvent id="subProcessEnd" name="" />
</subProcess>
<sequenceFlow id="flow5" name="" sourceRef="subError"
targetRef="buildBPO" />
<sequenceFlow id="flow6" name="" sourceRef="saveError"
targetRef="calculateC">
<conditionExpression>${bpo.isError==false}</conditionExpression>
</sequenceFlow>
<serviceTask id="calculateC" name="Calculate C"
activiti:expression="${myService.calculateC(bpo)}"
activiti:resultVariableName="bpo" />
<sequenceFlow id="flow7" name="" sourceRef="calculateC"
targetRef="saveS" />
<serviceTask id="saveS" name="Save S"
activiti:expression="${myService.saveSFromBPO(bpo)}"
activiti:resultVariableName="bpo" />
<sequenceFlow id="flow8" name="" sourceRef="saveS"
targetRef="theEnd" />
<endEvent id="theEnd" name="" />
</process>
</definitions>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.