Boomi Functional Integration Tracing: Track Business Processes and Errors

Jan Daris presenting Boomi functional integration tracing

Written by Jan Daris

Jan Daris is a hands-on Integration Architect and Developer who enjoys solving complex integration puzzles with Azure, Boomi, APIs, and event-driven architecture. Through this blog, he shares practical knowledge, lessons learned, and real-world solutions to help other architects, developers, and IT teams build better integration platforms.

August 15, 2026

Most integration teams can tell you whether a process completed. Fewer can answer the question that matters when a business colleague calls: what happened to this specific business record?

That is the gap functional integration tracing closes. It connects the technical execution of an integration to the business identifier people actually know: an order, invoice, shipment, customer or case.

This article is the hands-on demo: in the video below, I demonstrate the pattern with an order flowing from System A through Boomi and Azure API Management into System B. The order is only the example. The same design applies to any integration where ownership after go-live matters. If you want the component-by-component build instead, read the companion Boomi Functional Integration Tracing Tutorial: A Technical Deep Dive.

What this demo proves

The demo follows one message through four responsibilities:

  1. System A sends a business message to Boomi.
  2. Boomi processes the message and stores searchable business values as tracked fields.
  3. Azure API Management validates the target contract before the message can reach System B.
  4. Elastic and Application Insights provide an independent functional and technical record of what happened.

The desired outcome is not simply a green process run. It is the ability to search for a business record and answer, quickly and confidently:

  • Was the message received?
  • Was it transformed?
  • Did the target system accept it?
  • If it failed, where did it fail and why?
  • Who needs to take the next action?

The architecture at a glance

The delivery path is deliberately straightforward:

System A → Boomi → Azure API Management → System B

Alongside that delivery path, Boomi emits functional trace events. Those events travel through Azure API Management to Elastic, where support and operations can search the complete business journey. Azure Application Insights gives the API-side view: calls, response codes, headers and request details.

This separation matters. The business trace should remain useful to an operations colleague, while technical telemetry must still give an engineer enough detail to investigate safely and efficiently.

design-boomi-functional-tracing
design-boomi-functional-tracing

1. Track the identifier the business actually uses

Boomi Process Reporting is valuable, but a successful or failed execution alone does not tell a support team which business record it belongs to. Tracked fields close that gap.

In the demo, Boomi tracks the order-id and customer-id. For another process, these could be an invoice number, shipment reference, customer number or case ID. The rule is simple: choose the values someone will use when they ask for help.

That makes it possible to search Boomi directly for a business identifier, locate the right process execution and then inspect the relevant technical detail only when it is needed.

2. Create a functional trace, not just a log line

A functional trace is a concise event describing a meaningful business state transition. It is not a dump of every internal connector call.

For the demo flow, meaningful events are:

  • Received — System A submitted the message.
  • Transformed — Boomi converted the source structure to the System B contract.
  • Created — System B accepted the request.
  • Failed — delivery stopped, together with a safe explanation of the cause.

Each event carries the same trace context: the business identifier, a correlation ID where available, interface code, source and target system, activity ID, timestamps and status. That consistent shape is important: it turns a collection of events into one coherent story.

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "traceLogMessage",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for this log entry (random GUID)"
    },
    "correlationId": {
      "type": "string",
      "description": "Correlation identifier (GUID). Within Boomi: DPP_CorrelationId"
    },
    "activityId": {
      "type": "string",
      "description": "Unique identifier for the parent session. Within Boomi: DDP_ActivityId"
    },
    "registrationTsp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when this log entry was created (UTC). Within Boomi: DDP_RegistrationTsp"
    },
    "interfaceCode": {
      "type": "string",
      "description": "Interface code (e.g. IF0001). Within Boomi: DPP_InterfaceCode"
    },
    "interfaceName": {
      "type": "string",
      "description": "Optional interface name. Within Boomi: DPP_InterfaceName"
    },
    "parentStatus": {
      "type": "string",
      "enum": [
        "RUNNING",
        "SUCCESS",
        "WARNING",
        "FAILED",
        "FATAL"
      ],
      "description": "Overall session status. Within Boomi: DDP_ParentStatus"
    },
    "startTsp": {
      "type": "string",
      "format": "date-time",
      "description": "Start time for this session. Within Boomi: DDP_StartTsp"
    },
    "endTsp": {
      "type": "string",
      "format": "date-time",
      "description": "End time if session is completed. Within Boomi: DDP_EndTsp"
    },
    "sourceSystemCode": {
      "type": "string",
      "description": "Source system code (2–3 characters). Within Boomi: DPP_SourceSystemCode"
    },
    "targetSystemCode": {
      "type": "string",
      "description": "Target system code (2–5 characters). Within Boomi: DPP_TargetSystemCode"
    },
    "domainCode": {
      "type": "string",
      "description": "Domain code (2–5 characters) for example PART for participation. Within Boomi: DPP_DomainCode"
    },
    "action": {
      "type": "string",
      "description": "Action description. Within Boomi: DDP_Action"
    },
    "severity": {
      "type": "string",
      "enum": [
        "INFO",
        "WARNING",
        "ERROR",
        "DEBUG",
        "TRACE"
      ],
      "description": "Log severity level. Within Boomi: DDP_Severity"
    },
    "status": {
      "type": "string",
      "enum": [
        "SUCCESS",
        "WARNING",
        "FAILED",
        "FATAL"
      ],
      "description": "Status of this log entry. Within Boomi: DDP_Status"
    },
    "boomiAccountId": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiAccountId"
    },
    "boomiRuntimeId": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiRuntimeId"
    },
    "boomiRuntimeName": {
      "type": "string",
      "description": "Deployment environment. Within Boomi: DPP_BoomiRuntimeName"
    },
    "boomiExecutionId": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiExecutionId"
    },
    "boomiNodeId": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiNodeId"
    },
    "boomiProcessId": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiProcessId"
    },
    "boomiProcessName": {
      "type": "string",
      "description": "Run identifier (optional). Within Boomi: DPP_BoomiProcessName"
    },
    "schemaVersion": {
      "type": "string",
      "description": "Version of this schema, e.g. '1.0'. Within Boomi DPP_SchemaVersion"
    },
    "traceTimestamp": {
      "type": "string",
       "format": "date-time",
      "description": "Timestamp when the trace is created"
    },
    "metadata": {
      "type": "array",
      "description": "Optional metadata key/value pairs.",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Metadata key (can be empty)."
          },
          "value": {
            "type": "string",
            "description": "Metadata value (can be empty)."
          }
        },
        "required": [
          "key",
          "value"
        ]
      }
    }
  },
  "required": [
    "id",
    "correlationId",
    "activityId",
    "registrationTsp",
    "interfaceCode",
    "parentStatus",
    "sourceSystemCode",
    "targetSystemCode",
    "domainCode",
    "severity",
    "status",
    "schemaVersion",
    "traceTimestamp"
  ],
  "examples": [
    {
      "id": "7ac41e92-1f1f-4a2b-8a2f-56a7c222ab33",
      "correlationId": "c3b2f1d1-3b1a-4e2d-812a-456789abc111",
      "activityId": "c3b2f1d1-3b1a-4e2d-812a-456789abcdef",
      "registrationTsp": "2026-08-03T20:45:00Z",
      "interfaceCode": "IF0001",
      "interfaceName": "MAIN IF0001 SFEV > CDM Order",
      "parentStatus": "RUNNING",
      "startTsp": "2026-08-03T20:45:00Z",
      "endTsp": "2026-08-03T20:47:00Z",
      "sourceSystemCode": "SFEV",
      "targetSystemCode": "CDM",
      "domainCode": "ORDER",
      "action": "Started processing order",
      "severity": "INFO",
      "status": "SUCCESS",
      "boomiAccountId": "1234",
      "boomiRuntimeId": "1234",
      "boomiRuntimeName": "test-boomi-runtime",
      "boomiExecutionId": "0dd93fd5-9ece-44a0-9330-e4fb4f69ef5b",
      "boomiNodeId": "node-01",
      "boomiProcessId": "proc-abc123",
      "boomiProcessName": "MAIN IF0001 SFEV > CDM Order",
      "schemaVersion": "1.0",
      "traceTimestamp":"2025-08-03T20:45:00Z",
      "metadata": [
        {
          "key": "orderId",
          "value": "123"
        },
         {
          "key": "customerId",
          "value": "789"
        }
      ]
    }
  ]
}

Use a versioned trace-event schema from the start. The trace model will grow as operations learns what information is genuinely useful; versioning lets you add fields without breaking the history or the downstream consumer.

The full trace-event schema, JSON profiles and Azure API Management policies are available in the accompanying GitHub repository.

3. Decouple trace delivery from the business flow

In the demonstration, trace events are sent to a queue before they are written to Elastic. That keeps trace delivery decoupled from the primary business flow. A temporary Elastic issue should not become the reason that an otherwise valid business message cannot be delivered.

The queue consumer forwards the trace event through Azure API Management to the Elastic-facing API. This provides one controlled API boundary for trace ingestion: authentication, observability and policy can be applied consistently.

Decoupling does not mean ignoring trace failures. Monitor the queue and its consumer, define retention and retry behaviour, and make ownership explicit. The difference is that an observability dependency is managed as its own operational concern instead of being hidden inside the delivery path.

4. Validate the target contract before System B sees the message

Azure API Management validates the inbound JSON payload against the System B request contract. In the demo, a request without the required business identifier is rejected with 400 Bad Request before it reaches System B.

This is an important boundary. It gives the caller a clear, immediate contract error instead of allowing incomplete data to create an ambiguous downstream failure. It also produces useful evidence for the technical investigation in Application Insights.

Schema validation is not a substitute for business validation. It confirms that the message is structurally valid: required fields exist, types match, and unsupported properties can be rejected. Business rules still belong where the responsible business logic lives.

5. Use three complementary views during an incident

No single monitoring tool answers every question. This pattern deliberately uses three views:

ViewBest question it answers
Boomi Process ReportingWhich execution processed this business record, and which connector or process step failed?
Elastic functional traceWhat is the end-to-end business journey and current outcome of this record?
Application InsightsWhat happened at the API boundary: request, response, dependency and status code?

In the failure demonstration, an order without an ID is rejected by the API contract. Boomi records the failed execution and its tracked customer value. Elastic shows that the message was received and transformed but failed before creation. Application Insights exposes the HTTP 400 and the validation reason. Together, those views turn an opaque incident into an actionable answer.

Design principles to keep

  • Trace business events, not only technical events. A business user should be able to understand the timeline.
  • Use stable identifiers. Start with the business key; add correlation and activity IDs for cross-system investigation.
  • Keep error messages safe. Record the operational reason, but do not leak credentials, personal data or internal implementation details.
  • Design for both success and failure. A happy-path trace is useful. A trace that explains a failed business record is where the design proves its value.
  • Assign ownership. Monitoring without a named next action is only a better dashboard.

What comes next: the Boomi deep-dive

This article and video are the demo: they focus on the architecture and the operational outcome. The companion deep-dive goes component by component through the Boomi implementation: document tracking, trace-property initialization, trace-event mapping, queue delivery, success routing, Try/Catch handling and how the failed trace is made visible in the process itself.

Read the full technical walkthrough here: Boomi Functional Integration Tracing Tutorial: A Technical Deep Dive, which includes the complete build and the accompanying GitHub repository.

Make integrations supportable after go-live

Moving a message from A to B is not the finish line. Production-ready integration means a team can find a business record, understand its outcome, investigate a failure and take ownership of the next action without guesswork.

If you need delivery capacity for Azure and Boomi integrations that are built for production and operated with ownership, meet Intersky.

For more practical Azure, Boomi and DevOps guidance, browse the Boomi Engineering articles.

Frequently asked questions

What is functional integration tracing?

Functional integration tracing records meaningful business events for one record as it moves between systems. It enables teams to answer what happened to a specific order, invoice, customer or case, rather than only whether an integration execution succeeded.

Why use Boomi tracked fields?

Tracked fields make selected business values searchable in Boomi Process Reporting. They help a support team locate the correct execution before starting a deeper technical investigation.

Why send trace events through a queue?

A queue decouples trace persistence from the primary business flow. It allows trace delivery to be retried and monitored independently, so a temporary observability issue does not automatically block valid business processing.

You May Also Like…

0 Comments