- 5 minutes to read

BPM Binding

BPM Binding positions a Service of the Repository Model in a Business Process Model (BPM) through the BPMs array of the Service in a Repository Binding. Each entry places the Service in one cell of the BPM and draws the arrows to the other steps. For a complete, worked process, see the Order-to-Cash examples.

Order Entry's Log Event with the Complete Repository Binding with a BPM posted in Scalar, then the Order-to-Cash BPM with Order Entry in Planning, Step 2 and its arrow to Confirmation Sent, animated walkthrough (7.12)
Animated walkthrough: Order Entry's event, with the Complete Repository Binding with a BPM as an escaped string in ExtendedProperties/1.0#RepositoryBinding, posted in the Log API's Scalar reference. The BPM INT1337 - Order-to-Cash Flow shows Order Entry in Planning, Step 2, and the ServiceRelation as an Arrow (0) from its right (3) to the left (1) of Confirmation Sent in Sales, Step 3. The steps are 1 and 2 in the JSON: 0-based in code, 1-based on screen.

Important

BPM Binding is part of Repository Binding, so it works only when the AllowRepositoryAutomapping System Parameter is set to true. The Logging Service applies it while it processes the Log Event.

Reference

The BPM Matrix

BPMs organize process steps as a matrix: domains (rows) × steps (columns).

           Step 0        Step 1        Step 2
Sales      Order         [empty]       [empty]
           Received

Planning   [empty]       Order         [empty]
                         Planned

Logistics  [empty]       [empty]       Order
                                       Packed

Note

Steps are 0-based in code (0, 1, 2) but display as 1-based in UI (Step 1, Step 2, Step 3). Step numbers must always be non-negative (0 or positive integers).

BPM Object

Field Required Purpose Example
Name ✅ Yes Process flow name INT1337 - Order-to-Cash Flow
ArtifactRenaming ❌ No UI display name Order Received
Domain ✅ Yes Row position (Domain object) { "Name": "Sales", "Index": 0 }
Step ✅ Yes Column position (0-based) 0, 1, 2
ServiceRelations ❌ No Flow arrows between cells Array of service relation objects

Domain Object

Field Required Purpose Example
Name ✅ Yes Business domain Sales, Planning, Logistics, Finance
Index ✅ Yes Row order (0-based) 0, 1, 2, 3

ServiceRelations (BPM Flow Arrows)

Links between BPM process steps, displayed as arrows in the BPM matrix visualization.

Field Required Purpose Values
Name ✅ Yes Target service name Service name string
Direction ✅ Yes Target service direction; it draws the direction arrows on connectors in the Integration Landscape Receive, Send, TwoWayReceive, TwoWaySend; see Service direction values
System ✅ Yes Target service system { "Name": "System Name" }
Domain ✅ Yes Target row { "Name": "Sales", "Index": 0 }
Step ✅ Yes Target column (0-based) 0, 1, 2
ArtifactRenaming ❌ No Relation display name String
Label ❌ No Arrow label text String
ConnectorStyle ❌ No Connector line style Connector styles
SourceAttachmentPoint ❌ No Arrow start position Attachment points
TargetAttachmentPoint ❌ No Arrow end position Attachment points

Important

Direction and System fields are required for proper BPM reconstruction. The Direction refers to the target service's direction, not the current service. Including System and Domain in every ServiceRelation ensures Nodinite can reconstruct the process flow even when events arrive out of sequence due to network delays, retries, or asynchronous processing.

The Logging Service treats two connectors between the same Services as the same only when both attachment points and the ConnectorStyle match; the Label is ignored. A later event with another style or attachment point adds a second arrow, and the old one stays until you remove it in the BPM Designer. An identical Repository Binding is applied at most once per 10 minutes per Logging Service, so a change shows with the next event after that.

Connector Styles

Right-angle connectors run in 90° segments between the steps; straight ones draw a direct line. The BPM Designer's context menu offers the same styles (Change to Arrow, Change to Dashed Arrow, ...).

Value Style Shape
0 Arrow Right-angle
1 Dashed Arrow Right-angle
2 Line Straight
3 Dashed Line Straight
4 Arrow Line Straight
5 Dashed Arrow Line Straight
6 Hover Arrow: a dashed arrow, hidden until a linked shape is hovered or selected Right-angle
7 Hover Arrow Line: a dashed arrow, hidden until a linked shape is hovered or selected Straight

Attachment Points

SourceAttachmentPoint and TargetAttachmentPoint use the same values. Leave the field out, or send 0, and the connector picks its own point.

Value Position
1 Left
2 Top
3 Right
4 Bottom

Examples

BPMs Array

The BPMs array as it appears inside the Service object (fragment):

"BPMs": [{
  "Name": "INT1337 - Order-to-Cash Flow",
  "ArtifactRenaming": "Order Entry",
  "Domain": { "Name": "Planning", "Index": 1 },
  "Step": 1,
  "ServiceRelations": [{
    "Name": "INT1337-SND-Confirm-Outgoing",
    "Direction": "Send",
    "System": { "Name": "Portal" },
    "Domain": { "Name": "Sales", "Index": 0 },
    "Step": 2,
    "ArtifactRenaming": "Confirmation Sent",
    "Label": "Confirmation Sent",
    "ConnectorStyle": 0,
    "SourceAttachmentPoint": 3,
    "TargetAttachmentPoint": 1
  }]
}]

Complete Repository Binding with a BPM

The same BPM entry in a complete, valid Repository Binding value. The Service, System, and Integration names are examples. The top-level "Name" is the name of the Transport Contract: this example creates a Transport Contract Default on INT1337-ENT-Order-Entry, for the event's Endpoint and Message Type.

{
  "Name": "Default",
  "Service": {
    "Name": "INT1337-ENT-Order-Entry",
    "Direction": "Send",
    "System": { "Name": "ERP" },
    "Integration": { "Name": "INT1337 - Order-to-Cash" },
    "BPMs": [{
      "Name": "INT1337 - Order-to-Cash Flow",
      "ArtifactRenaming": "Order Entry",
      "Domain": { "Name": "Planning", "Index": 1 },
      "Step": 1,
      "ServiceRelations": [{
        "Name": "INT1337-SND-Confirm-Outgoing",
        "Direction": "Send",
        "System": { "Name": "Portal" },
        "Domain": { "Name": "Sales", "Index": 0 },
        "Step": 2,
        "ArtifactRenaming": "Confirmation Sent",
        "Label": "Confirmation Sent",
        "ConnectorStyle": 0,
        "SourceAttachmentPoint": 3,
        "TargetAttachmentPoint": 1
      }]
    }]
  }
}

Send it as an escaped string in ExtendedProperties/1.0#RepositoryBinding, as shown in the Repository Binding escaped-string example.

Next Steps