Skip to content
KiweelyKiweelyKiweely

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
  • Applies to Workday Extend and Workday Integration Orchestrations
  • 7 min read
  • Published
  • By Kiweely
On this page

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 and Workday Orchestrate errors and how to fix them.

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
Component typeExpression or PMD script field Typical symptom or errorCompile error on save, or runtime null / type mismatch when reading upstream data Where to inspectBuild Logs (compile time); Debug Step and Expression Builder -> Data from Orchestration Steps (runtime) FixVerify exact upstream field path; handle list vs. single-object returns and guard against null values before indexing or formatting.
Component typeSend HTTP Request Typical symptom or errorNon-2xx response (4xx/5xx), unexpected payload format, or orchestration completes despite an API error Where to inspectAPI Logs in Orchestration Builder footer (wd_path, wd_request_bytes), Run Logs, or View Integration Event FixMatch 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.
Component typeTransform / text template / character mapping Typical symptom or errorDownstream parsing error, broken SOAP/XML on & or accented characters, or schema drift failure Where to inspectDebug Step on the template or transform component; Log step or Store Document for full payloads FixUpdate mappings to match the live API schema, apply XML escaping on special characters, and configure Character Mapping rules for non-UTF-8 characters.
Component typeContinue on Conditions / Branch on Conditions Typical symptom or errorFlow stops early with no unhandled exception, or takes the wrong branch Where to inspectRun Logs (Orchestration Builder automatically logs the configured message when Continue on Conditions evaluates to false) FixInspect the evaluated boolean inputs with Debug Step or a preceding Log step, and confirm isSuccess or upstream fields are non-null.
Component typeLocal Error Handler / Suborchestration Typical symptom or errorDownstream step fails reading an output from a guarded block, or error details are missing Where to inspectError handler canvas (processingError output) and Analytics Logs tab (wd_category = console) FixInsert 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.
Component typeAsync triggers (Trigger Business Process, Trigger Integration, Trigger PDF Generation, polling HTTP) Typical symptom or errorDebug Step is unavailable for the component Where to inspectRun Logs with Auto-Refresh enabled, View Integration Event in the Development tenant, and verbose logging API with stepFilters FixTest 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

Related guides

All guides

Let Workday check the work.

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

Want it built for you? OnoeX , 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.

We’ll email you once to confirm. Unsubscribe in one click from any issue.

Protected by reCAPTCHA. Google’s privacy policy and terms apply.