Created
May 21, 2011 01:05
-
-
Save tsurdilo/984105 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.drools.process.core.datatype.impl.type.StringDataType; | |
[ | |
[ | |
"name" : "Shipment", | |
"parameters" : [ | |
"ShipmentID" : new StringDataType(), | |
"To" : new StringDataType() | |
], | |
"results" : [ | |
"Result" : new StringDataType() | |
], | |
"icon" : "icons/human_task.gif", | |
"customEditor" : "org.drools.eclipse.flow.common.editor.editpart.work.SampleCustomEditor", | |
"displayName" : "Manual Task" | |
] | |
] | |
*********************************** | |
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions id="Definition" | |
targetNamespace="http://www.jboss.org/drools" | |
typeLanguage="http://www.java.com/javaTypes" | |
expressionLanguage="http://www.mvel.org/2.0" | |
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" | |
xmlns:g="http://www.jboss.org/drools/flow/gpd" | |
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:tns="http://www.jboss.org/drools"> | |
<process processType="Private" isExecutable="true" name="abc.b" > | |
<!-- nodes --> | |
<startEvent id="_1" name="Start" /> | |
<task id="_2" name="Manual Task" tns:taskName="Shipment" > | |
<ioSpecification> | |
<dataInput id="_2_ToInput" name="To" /> | |
<dataInput id="_2_ShipmentIDInput" name="ShipmentID" /> | |
<inputSet> | |
<dataInputRefs>_2_ToInput</dataInputRefs> | |
<dataInputRefs>_2_ShipmentIDInput</dataInputRefs> | |
</inputSet> | |
<outputSet> | |
</outputSet> | |
</ioSpecification> | |
<dataInputAssociation> | |
<targetRef>_2_ToInput</targetRef> | |
<assignment> | |
<from xsi:type="tFormalExpression">asdadasd</from> | |
<to xsi:type="tFormalExpression">_2_ToInput</to> | |
</assignment> | |
</dataInputAssociation> | |
<dataInputAssociation> | |
<targetRef>_2_ShipmentIDInput</targetRef> | |
<assignment> | |
<from xsi:type="tFormalExpression">123</from> | |
<to xsi:type="tFormalExpression">_2_ShipmentIDInput</to> | |
</assignment> | |
</dataInputAssociation> | |
</task> | |
<endEvent id="_3" name="End" > | |
<terminateEventDefinition/> | |
</endEvent> | |
<!-- connections --> | |
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /> | |
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" /> | |
</process> | |
<bpmndi:BPMNDiagram> | |
<bpmndi:BPMNPlane bpmnElement="null" > | |
<bpmndi:BPMNShape bpmnElement="_1" > | |
<dc:Bounds x="100" y="100" width="48" height="48" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="_2" > | |
<dc:Bounds x="288" y="222" width="100" height="48" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="_3" > | |
<dc:Bounds x="525" y="373" width="48" height="48" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge bpmnElement="_1-_2" > | |
<di:waypoint x="124" y="124" /> | |
<di:waypoint x="338" y="246" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="_2-_3" > | |
<di:waypoint x="338" y="246" /> | |
<di:waypoint x="549" y="397" /> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment