← Course Home
Okta Certified Workflows - Specialty · Part II

Create a Report

23% of Part II — the last use case, per the exam's own recommended order.

Create a Report

Task 3: Test Your Flow

3 tasks · this deck covers task 3 of 3

↑ Create a Report Overview

The Task

"Test your flow"

Same testing mechanic covered throughout this study guide — the operational twist for a report flow is that "correct" means the final Stringify output is valid, well-shaped JSON with the right counts inside it.

The Connection — Full Deck Already Exists

General flow testing — the Run button, test data, Execution History, testing individual cards — is covered there in depth. This deck adds only the angle specific to testing a report-building flow.

The Operational Angle — Report-Flow-Specific

To test, "click Run in the toolbar when editing a flow" and supply test data — "the execution history shows the data as it passes through each card in the flow." For a report flow, walk that history through the exact chain built in Tasks 1–2: Group By → Length (per type) → Add (total) → Object Construct → JSON Stringify.

What to Actually Check

Group By / Length outputs — per Common Error Messages (Sub 2), an array-index or invalid-type-conversion error here usually means the grouping path didn't match the user object's actual field structure.

Object Construct output — confirm every key you expect appears before it reaches Stringify; a missing key is silent until you inspect the object, not a runtime error.

Stringify output — the final string should parse back cleanly; if it doesn't, the mismatch traces back to whichever Construct input had the wrong type.

One Line To Remember

Testing a report flow is standard Run-button testing walked through the specific chain: verify Group By/Length counts per type, verify Object Construct has every expected key, then verify Stringify's output is valid JSON — most failures trace back to a grouping-path mismatch or a missing Construct key, not the Stringify step itself.
✓ Create a Report — 3 of 3 courses complete · Part II complete

Sources: help.okta.com/wf — connector-builder/test-flows.htm (full deck: Troubleshooting Flows, Module 1)