Running a Simulation
Choose your source
At the top of the Playground, select how you want to provide the workflow to simulate:
- Saved workflow — open the dropdown and pick any workflow from your saved list in the Flow Builder.
- Raw DSL JSON — paste a raw workflow DSL JSON object directly into the text area. This is useful for testing a workflow that you have not saved yet, or for simulating a DSL received from a teammate.
Click Preview
Click the Preview button. Devset sends the workflow DSL to the backend simulate endpoint, which runs the full pipeline logic without connecting to any broker.
Reading the Results Panel
The results panel is the core of the Playground experience. It organises simulation output by pipeline stage.Browse the stage strip
A horizontal stage strip at the top of the panel shows every pipeline stage in order. Each stage is represented as a pill labelled with its stage name and index. A Result pill at the end represents the final accumulated output.
Inspect a stage's emitted event
Click a stage pill to filter the event log to the events produced by that stage. Select any event in the log to see its full details:
- Headers — the message headers computed for that stage.
- Payload — the message body, rendered as formatted JSON.
Wait stages are skipped in Playground simulation. Because the simulator does not run against real time or a live broker, any stage configured with a wait/delay is executed immediately with a zero-duration wait. Keep this in mind when interpreting simulation results for workflows that use timing-dependent logic.
Playground vs. Workflow Runs
The Playground and Workflow Runs both execute your pipeline, but they serve different purposes:| Playground | Workflow Runs | |
|---|---|---|
| Sends real messages | No | Yes |
| Requires a broker connector | No | Yes |
| Shows emitted payloads | Yes | Yes |
| Wait stages honoured | No (skipped) | Yes |
| Use when | Developing and validating logic | Testing against a live broker |
When to Use the Playground
Test DSL Logic
Paste or load a workflow and immediately see whether your stage configurations and state transformations produce the right output.
Validate Expressions
Check that Function Studio expressions —
FN calls like uuid(), REF lookups, WHEN conditionals — resolve to the expected values before running against a real broker.Preview Payloads
Confirm the exact JSON shape of every emitted message before sending it to downstream consumers. Catch missing fields and type mismatches early.
Iterate Quickly
Because no broker connection is required, you can paste a revised DSL and click Preview as many times as you need without any external side effects.