zeebe 0.4.2

A rust client for defining, orchestrating, and monitoring business processes across microservices using Zeebe.
Documentation
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.1.0">
  <bpmn:process id="order-process" isExecutable="true">
    <bpmn:startEvent id="order-placed" name="Order Placed">
      <bpmn:outgoing>SequenceFlow_18tqka5</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:endEvent id="order-delivered" name="Order Delivered">
      <bpmn:incoming>SequenceFlow_1qj94z0</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_18tqka5" sourceRef="order-placed" targetRef="collect-money" />
    <bpmn:serviceTask id="collect-money" name="Collect Money">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="payment-service" />
        <zeebe:taskHeaders>
          <zeebe:header key="method" value="VISA" />
        </zeebe:taskHeaders>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_18tqka5</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_10zt7r3</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="fetch-items" name="Fetch Items">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="inventory-service" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_10zt7r3</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1t0gysp</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_10zt7r3" sourceRef="collect-money" targetRef="fetch-items" />
    <bpmn:serviceTask id="ship-parcel" name="Ship Parcel">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="shipment-service" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1t0gysp</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1qj94z0</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_1t0gysp" sourceRef="fetch-items" targetRef="ship-parcel" />
    <bpmn:sequenceFlow id="SequenceFlow_1qj94z0" sourceRef="ship-parcel" targetRef="order-delivered" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="order-process">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="order-placed">
        <dc:Bounds x="173" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="159" y="138" width="65" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1253stq_di" bpmnElement="order-delivered">
        <dc:Bounds x="822" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="801" y="141" width="78" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_18tqka5_di" bpmnElement="SequenceFlow_18tqka5">
        <di:waypoint xsi:type="dc:Point" x="209" y="120" />
        <di:waypoint xsi:type="dc:Point" x="294" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="251.5" y="98.5" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_0298fyo_di" bpmnElement="collect-money">
        <dc:Bounds x="294" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_1kymioi_di" bpmnElement="fetch-items">
        <dc:Bounds x="458" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_10zt7r3_di" bpmnElement="SequenceFlow_10zt7r3">
        <di:waypoint xsi:type="dc:Point" x="394" y="120" />
        <di:waypoint xsi:type="dc:Point" x="458" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="426" y="98" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_10u9res_di" bpmnElement="ship-parcel">
        <dc:Bounds x="627" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1t0gysp_di" bpmnElement="SequenceFlow_1t0gysp">
        <di:waypoint xsi:type="dc:Point" x="558" y="120" />
        <di:waypoint xsi:type="dc:Point" x="627" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="592.5" y="98" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1qj94z0_di" bpmnElement="SequenceFlow_1qj94z0">
        <di:waypoint xsi:type="dc:Point" x="727" y="120" />
        <di:waypoint xsi:type="dc:Point" x="822" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="774.5" y="98.5" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>