---
title: "How to Debug Components in Workday Orchestrate — Kiweely"
description: "Debug Workday Orchestrate components with Debug Step, Build and Run Logs, Log steps, local error handlers, and verbose logging in a Development tenant."
url: https://kiweely.com/guides/workday-orchestrate-debug-components-step-logs
---

# How to Debug Components in Workday Orchestrate: Step Debugger and Logs

Step-by-step guide to debugging components in Workday Orchestrate using Orchestration Builder’s Debug Step panel, Build and Run Logs, Log components, local error handlers, and the verbose logging REST API.

-   **Checked** against Workday on December 5
-   Applies to **Workday Extend and Workday Integration Orchestrations**
-   7 min read
-   Published December 5
-   By Kiweely

Select any supported step in Orchestration Builder and click **Debug Step** in the right-hand properties panel to connect to a deployed Development tenant, supply test inputs, and inspect that component’s output in isolation. For live runs or components the interactive debugger does not support, read **Build Logs** and **Run Logs** in the builder footer and instrument the flow with **Log** components or local error handlers.

Workday Orchestrate separates compile-time validation from runtime execution. Most debugging time is lost checking only the top-level run status when the real failure sits inside an expression evaluation, a silent non-2xx HTTP response, or a suppressed output inside an error handler. Working through the layers in order isolates the failing component quickly.

## Step-by-step workflow to debug Orchestrate components

### 1\. Run Validate and check Build Logs first

Before deploying or running a test against a tenant, click **Validate** in the Orchestration Builder toolbar and save the orchestration to App Hub. Saving triggers compilation and populates **Build Logs** in the builder footer.

Build Logs report syntax errors in expressions, broken field references between steps, and optimization warnings. Fixing compilation warnings here avoids deploying a broken build to your Development tenant.

### 2\. Isolate a single component with Debug Step

When an orchestration compiles cleanly but produces the wrong value or throws a runtime error, test the suspect component directly in Orchestration Builder:

1.  Open the orchestration, suborchestration, or error handler canvas and select the component where you want to start.
2.  In the right-hand properties panel, click **Debug Step** (click **Edit Properties** anytime to return to configuration).
3.  Click **Select Tenant**, choose the Development tenant where the app is deployed, and click **Connect to Tenant**.
4.  Provide the required inputs for that step. You can enter manual JSON or value expressions directly, or pull input context from a recent application run.
5.  Run the step and inspect the returned output structure before moving to the next component.

**Debug Step limitations:** Orchestration Builder does not support interactive stepping on *Trigger Business Process*, *Trigger Integration*, *Trigger PDF Generation*, or *Send HTTP Request* steps configured with polling. For those components, use Run Logs, Log steps, or verbose logging during a live run.

### 3\. Inspect Run Logs, API Logs, and Integration Events

For deployed executions, open the **Run Logs** panel in the Orchestration Builder footer (or open a completed orchestration event and select its **Run Logs** tab). Orchestration Builder groups runtime telemetry under two default headings:

-   **Run Logs:** Execution flow events, runtime errors, and step-level troubleshooting entries.
-   **API Logs:** Inbound and outbound HTTP request metadata, including status codes, service paths, and payload sizes.

Click **Edit Fields** under either heading to open the *Add or Remove Fields* pane and include fields such as `wd_path` or `wd_request_bytes`. Toggle **Auto-Refresh** on while testing to refresh entries automatically every 30 seconds.

If the orchestration runs as part of a packaged integration or integration system, also open **View Integration Event** inside your Workday tenant to review integration messages and attached output documents alongside the builder logs.

### 4\. Print variables and payloads with the Log component

When an expression formats data unexpectedly or a downstream step receives `null`, insert a **Log** logic component immediately before or after the suspect step.

-   Configure the **Message** property with a single expression that evaluates to the variable, JSON snippet, or XML string you want to inspect.
-   At runtime, Orchestration Builder writes that expression output as a custom log entry under `wd_category` = `console` and `wd_app_component` = `workflows`.
-   Review those entries in the **Logs** tab of the Analytics dashboard or on the App Overview page in the Workday Developer Site.

If you need to inspect a large JSON or XML payload tied to an integration event, pair the Log step with a **Store** or **Store Document** component so the full payload persists on the event instead of being truncated in console logs.

### 5\. Catch failures with a local Error Handler

To inspect failures without aborting the entire orchestration blindly, open the related actions menu on a step or group of steps and choose **Add Error Handler**. This creates a dedicated error canvas for that block.

Keep three runtime rules in mind when debugging inside a local error handler:

-   **No primary outputs from the failed step:** The error canvas receives the original step inputs plus an automatic `processingError` output of type *Processing Error*, which identifies where the failure occurred.
-   **Log the error context explicitly:** Local error handlers do not expose the raw exception string automatically on their own. Add a **Log** component inside the error handler canvas using `processingError` to capture the failure context in your logs.
-   **Choose the right exit behavior in Properties:**
    -   **Propagate Error:** Runs the steps in the error handler canvas and rethrows the exception to the parent or global error handler. Use this when you want local logging or cleanup while still marking the parent flow as failed.
    -   **Conditional Outputs:** Emits an `isSuccess` boolean (`true` when the guarded steps succeed, `false` when the error handler runs). When `isSuccess` is `false`, primary outputs from the failed block are suppressed so downstream steps do not read partial data. Branch on `isSuccess` to handle the failure cleanly.

For a deeper breakdown of how HTTP errors interact with retry policies and error handlers, see [How to debug a failed Send HTTP Request step in Workday Orchestrate](https://kiweely.com/guides/workday-orchestrate-http-step-failed-debug-response) and [Workday Orchestrate errors and how to fix them](https://kiweely.com/guides/orchestrate-errors).

### 6\. Enable verbose logging for deeper runtime traces

Standard Run Logs may not show enough internal detail when debugging complex expressions or intermittent component failures. Workday provides a REST API to turn on verbose logging for a specific orchestration without modifying the flow:

http

```
PUT https://api.us.wcp.workday.com/orchestrate/v1/apps/{appID}/orchestrations/{orchName}/debug/logging
```

Use your region’s corresponding Workday Cloud Platform host (US or EMEA). Authenticate the request with the JWT from your active Workday Developer Site browser session (`wday-access-token` cookie). In the JSON request body, specify the target tenant alias, whether logging applies `oneTimeOnly`, a `duration` (defaults to `30m`, maximum `14d`), and optional `stepFilters` to narrow output to specific components.

### 7\. Verify expression and PMD evaluation in a Development tenant

Expression and PMD script errors frequently pass basic visual review and fail only against real tenant data.

-   Open **Expression Builder** on the failing field and check **Data from Orchestration Steps** to confirm the exact upstream schema path and whether the step returns a single object or a list.
-   Test end-to-end Extend app flows in **Preview** mode on your Development tenant using realistic record counts before promoting the app.
-   Remember that orchestrations invoked synchronously from Workday Extend pages are subject to a 25-second synchronous timeout even if a background orchestration can run longer.

## Component failure lookup table

| Component type | Typical symptom or error | Where to inspect | Fix |
| --- | --- | --- | --- |
| Expression or PMD script field | Compile error on save, or runtime `null` / type mismatch when reading upstream data |  **Build Logs** (compile time); **Debug Step** and **Expression Builder** -> **Data from Orchestration Steps** (runtime) | Verify exact upstream field path; handle list vs. single-object returns and guard against `null` values before indexing or formatting. |
|  **Send HTTP Request** | Non-2xx response (`4xx`/`5xx`), unexpected payload format, or orchestration completes despite an API error |  **API Logs** in Orchestration Builder footer (`wd_path`, `wd_request_bytes`), **Run Logs**, or **View Integration Event** | Match the `Content-Type` header to the configured Body tab format; configure an HTTP Retry Policy or branch on status code and log the response body before failing. |
|  **Transform** / text template / character mapping | Downstream parsing error, broken SOAP/XML on `&` or accented characters, or schema drift failure |  **Debug Step** on the template or transform component; **Log** step or **Store Document** for full payloads | Update mappings to match the live API schema, apply XML escaping on special characters, and configure **Character Mapping** rules for non-UTF-8 characters. |
|  **Continue on Conditions** / **Branch on Conditions** | Flow stops early with no unhandled exception, or takes the wrong branch |  **Run Logs** (Orchestration Builder automatically logs the configured message when *Continue on Conditions* evaluates to `false`) | Inspect the evaluated boolean inputs with **Debug Step** or a preceding **Log** step, and confirm `isSuccess` or upstream fields are non-null. |
| Local **Error Handler** / Suborchestration | Downstream step fails reading an output from a guarded block, or error details are missing | Error handler canvas (`processingError` output) and Analytics **Logs** tab (`wd_category` = `console`) | Insert a **Log** component inside the error canvas; use **Conditional Outputs** (`isSuccess`) to branch away from suppressed primary outputs, or enable **Propagate Error** to surface failures to the global handler. |
| Async triggers (*Trigger Business Process*, *Trigger Integration*, *Trigger PDF Generation*, polling HTTP) |  **Debug Step** is unavailable for the component |  **Run Logs** with **Auto-Refresh** enabled, **View Integration Event** in the Development tenant, and verbose logging API with `stepFilters` | Test preceding data-prep steps with **Debug Step**, then run the full flow in a Development tenant with **Log** steps or verbose logging enabled on the trigger step. |

## Development tenant testing checklist before promotion

1.  Clear all errors and warnings in **Validate** and **Build Logs** after your last edit.
2.  Remove temporary **Log** components that print sensitive worker or financial payloads, or reduce them to non-sensitive correlation IDs.
3.  Disable verbose logging or let a short `duration` / `oneTimeOnly` configuration expire before moving beyond Development.
4.  Confirm every local error handler either branches cleanly on `isSuccess` or sets **Propagate Error** so failures are not silently swallowed.

## Sources checked

-   [Debug Orchestrations (Workday Developer)](https://developer.workday.com/documentation/GUID-c56cc654-636f-43ed-97fa-308f87ce2856/DebugOrchestrations)
-   [Concept: Orchestration Builder Logs (Workday Developer)](https://developer.workday.com/documentation/GUID-d1cf9e1e-f63f-446b-ac01-b09d7b3cb208/ConceptOrchestrationBuilderLogs)
-   [Handle Errors in Orchestration Builder (Workday Developer)](https://developer.workday.com/documentation/jsa1677245297723/HandleErrors)
-   [Concept: Orchestration Logic Components (Workday Developer)](https://developer.workday.com/documentation/GUID-336a9d48-00c3-4db9-bee4-696c940b6535/ConceptOrchestrationLogicComponentsinIntegrationApps)
-   [Enable Verbose Logging for Orchestrations (Workday Developer)](https://developer.workday.com/documentation/lpu1680708672902/EnableVerboseLoggingforOrchestrations)

## Related guides

[All guides](https://kiweely.com/guides)

-   [### Workday Orchestrate Send HTTP Request Failed: How to See the Status Code and Response Body Inspect a failed Send HTTP Request step in Workday Orchestrate using View Integration Event, Run Logs, Error Handler processingError outputs, and Add Integration Message or Store Document steps to capture the HTTP status code, response body, and outgoing payload.](https://kiweely.com/guides/workday-orchestrate-http-step-failed-debug-response)
-   [### How do I debug a Workday Orchestrate orchestration that shows success but some steps failed? A run can look successful because an unsuccessful HTTP response is not a failure unless a retry policy defines a success range, and an error handler set to Conditional Outputs lets the run carry on. Read the run’s per-process stepsFailed, not the status.](https://kiweely.com/guides/orchestrate-errors)

### More guides on Orchestrate

[All 94 guides](https://kiweely.com/guides#orchestrate)

-   [Workday Orchestrate vs. Studio: Security, Credentials, and Tenant Isolation](https://kiweely.com/guides/workday-orchestrate-vs-studio-security-tenant-isolation)
-   [Workday REST API v1 Deprecation and OAuth Refresh Token Migration Guide](https://kiweely.com/guides/workday-rest-api-v1-deprecation-oauth-refresh-token-migration)
-   [Workday Orchestrate Loop, Early Stop, and While-Running vs. Exit Conditions](https://kiweely.com/guides/workday-orchestrate-while-loop-exit-condition)
-   [Workday Pro Orchestrate Developer Certification: Study Guide](https://kiweely.com/guides/workday-pro-orchestrate-developer-certification-guide)
-   [Workday to AWS S3, Azure Blob Storage, and Google Cloud Storage: Replacing Legacy SFTP Delivery](https://kiweely.com/guides/workday-to-aws-s3-azure-blob-gcs-cloud-storage-delivery)
-   [Building Custom Business Objects (CBOs) and Orchestrations in a Personal Workday Tenant](https://kiweely.com/guides/workday-extend-cbo-orchestrate-personal-developer-tenant)
-   [Why does an Orchestration JSON path put a leading space in a WID?](https://kiweely.com/guides/workday-orchestration-json-path-leading-space-wid)
-   [How do I stop Orchestrate JSONPath from corrupting WIDs with spaces?](https://kiweely.com/guides/workday-json-path-wid-leading-whitespace-prevention)

### From the blog on Orchestrate

[All posts](https://kiweely.com/blog)

-   [Workday Integrations: Studio vs. Orchestrate vs. Workato, Boomi and MuleSoft](https://kiweely.com/blog/workday-studio-vs-orchestrate-vs-workato-boomi-mulesoft)
-   [Keep in Studio, Move to Orchestrate, or Rebuild as an Extend App? A Practical Triage Matrix](https://kiweely.com/blog/migrating-legacy-workday-studio-integrations-to-orchestrate-decision-matrix)
-   [Why Workday Studio Remains Essential in an Orchestrate World](https://kiweely.com/blog/why-workday-studio-still-matters-with-orchestrate)

## Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

[Get in touch](https://kiweely.com/vine#partners) [Book a demo](https://kiweely.com/demo)

Want it built for you? [OnoeX](https://onoex.com/?utm_source=kiweely.com&utm_medium=referral&utm_campaign=cross-site&utm_content=guide-orchestrate) , a Workday consulting firm, delivers this with Kiweely Vine.

## Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.
