chartletv0.21.0chartlet.casoon.de

← All examples

Order fulfilment with parallel checks

An order split into four parallel checks in a group, which meet again at packing. With "sharedTrunks": true the three checks off the main path leave the split on one branching line and reach packing on one, with a dot at every branch; the payment check on the main path and the two branches of the decision keep their own lines. Every edge is still drawn end to end with its tooltip; the description and the table are unchanged. Illustrative values.

Order fulfilment with parallel checks

examples/order-fulfilment.json
{
  "schemaVersion": 1,
  "type": "flow",
  "title": "Order fulfilment with parallel checks",
  "source": "Warehouse handbook, order path",
  "width": 960,
  "height": 700,
  "flow": {
    "nodes": [
      {
        "id": "received",
        "label": "Order received",
        "kind": "start"
      },
      {
        "id": "split",
        "label": "Split into tasks"
      },
      {
        "id": "stock",
        "label": "Reserve stock"
      },
      {
        "id": "payment",
        "label": "Capture payment"
      },
      {
        "id": "fraud",
        "label": "Check fraud score"
      },
      {
        "id": "address",
        "label": "Validate address"
      },
      {
        "id": "pack",
        "label": "Pack parcel"
      },
      {
        "id": "express",
        "label": "Express?",
        "kind": "decision"
      },
      {
        "id": "courier",
        "label": "Hand to courier"
      },
      {
        "id": "post",
        "label": "Send by post"
      },
      {
        "id": "shipped",
        "label": "Shipped",
        "kind": "end"
      }
    ],
    "edges": [
      {
        "from": "received",
        "to": "split"
      },
      {
        "from": "split",
        "to": "stock"
      },
      {
        "from": "split",
        "to": "payment"
      },
      {
        "from": "split",
        "to": "fraud"
      },
      {
        "from": "split",
        "to": "address"
      },
      {
        "from": "stock",
        "to": "pack"
      },
      {
        "from": "payment",
        "to": "pack"
      },
      {
        "from": "fraud",
        "to": "pack"
      },
      {
        "from": "address",
        "to": "pack"
      },
      {
        "from": "pack",
        "to": "express"
      },
      {
        "from": "express",
        "to": "courier",
        "label": "yes"
      },
      {
        "from": "express",
        "to": "post",
        "label": "no"
      },
      {
        "from": "courier",
        "to": "shipped"
      },
      {
        "from": "post",
        "to": "shipped"
      }
    ],
    "groups": [
      {
        "label": "Checks",
        "nodes": [
          "stock",
          "payment",
          "fraud",
          "address"
        ]
      }
    ],
    "mainPath": [
      "received",
      "split",
      "payment",
      "pack",
      "express",
      "courier",
      "shipped"
    ],
    "sharedTrunks": true
  }
}
Focus
Order fulfilment with parallel checks
Order fulfilment with parallel checksFlow chart with 11 steps and 14 connections. Main path: Order received → Split into tasks → Capture payment → Pack parcel → Express? → Hand to courier → Shipped. Most connected: Split into tasks and Pack parcel (5 connections each). Bottlenecks: Pack parcel and Express?; without either the diagram falls apart. Order received (start): leads to Split into tasks. Split into tasks: leads to Reserve stock, Capture payment, Check fraud score and Validate address. Reserve stock: leads to Pack parcel. Capture payment: leads to Pack parcel. Check fraud score: leads to Pack parcel. Validate address: leads to Pack parcel. Pack parcel: leads to Express?. Express? (decision): leads to Hand to courier (yes) and Send by post (no). Hand to courier: leads to Shipped. Send by post: leads to Shipped. Shipped (end): no further step. Group "Checks": Reserve stock, Capture payment, Check fraud score, Validate address.ChecksOrder received → Split into tasksSplit into tasks → Reserve stockSplit into tasks → Capture paymentSplit into tasks → Check fraud scoreSplit into tasks → Validate addressReserve stock → Pack parcelCapture payment → Pack parcelCheck fraud score → Pack parcelValidate address → Pack parcelPack parcel → Express?Express? → Hand to courier: yesExpress? → Send by post: noHand to courier → ShippedSend by post → ShippedyesnoOrder receivedOrder receivedSplit into tasksSplit into tasksReserve stockReserve stockCapture paymentCapture paymentCheck fraud scoreCheck fraud scoreValidate addressValidate addressPack parcelPack parcelExpress?Express?Hand to courierHand to courierSend by postSend by postShippedShipped

Source: Warehouse handbook, order path

Show chart data
Data for Order fulfilment with parallel checks
StepKindGroupLeads to
Order receivedstartSplit into tasks
Split into tasksstepReserve stock, Capture payment, Check fraud score, Validate address
Reserve stockstepChecksPack parcel
Capture paymentstepChecksPack parcel
Check fraud scorestepChecksPack parcel
Validate addressstepChecksPack parcel
Pack parcelstepExpress?
Express?decisionHand to courier (yes), Send by post (no)
Hand to courierstepShipped
Send by poststepShipped
Shippedend
  • Flow chart with shared trunks
  • Show parallel work without a tangle