Technical guide

Debugging Genesys Cloud Architect flows: replay, execution data and fixes

When an Architect flow sends callers the wrong way, guesswork wastes days. Genesys Cloud can show you exactly what a flow did for one conversation, and how often each path runs across thousands. This guide shows how to switch that evidence on, replay a conversation step by step, find every failing one, and fix the patterns that cause most flow faults.

By Dave Tidwell, Managing Director8 min read

In short

  • Historical execution data is off by default: enable it, choose a level, and republish flows before you need it.
  • Replay mode steps through one conversation's flow, action by action, with breakpoints and variable values.
  • The query builder and the Operational Console find every conversation that hit an error, not just the one reported.
  • Loops that repeatedly set priority, write attributes or requeue can hit Genesys's per-conversation event safeguards.

Part of our Running Genesys Cloud well collection: every related guide and service in one place.

01

Start from a conversation ID, not a description

Flow problems arrive as stories: callers are going round in circles, the out-of-hours message plays at lunchtime, the bot keeps sending people to the wrong queue. Before opening Architect, get the conversation ID of at least one affected interaction, and the time it happened. Everything Genesys Cloud offers for flow debugging starts from that identifier, and one real example is worth more than any amount of description.

Then decide which question you are answering. Why did this conversation go wrong is answered by replay mode. How many conversations are affected is answered by the flow execution query builder, the Operational Console and the flow outcome views. Where do callers actually go is answered by Flow Insights. Working through them in that order turns a complaint into a fix you can test.

02

Turn on execution data before you need it

Genesys Cloud can keep historical execution data for every Architect flow type, but Genesys disables it by default. An administrator enables execution data storage in Organization Settings, then the Architect Flows toggle beneath it, and flows must be republished before they start capturing. Until then, there is nothing for replay mode or the query builder to show, which is why so many teams discover the feature on the day they need it.

Genesys offers four levels of detail, set as an organisation default or for a single flow. Genesys notes that execution data counts towards the organisation's data storage limit under its fair use policy, and warns when it is enabled that it may store sensitive information. Choose the level per flow: the richer levels help most with complex self-service and integrations, while Secure Call flows and anything collecting payment or identity data deserve a deliberate decision with your data protection lead.

Genesys Cloud historical execution data levels, as Genesys describes them
LevelWhat it addsTypical use
BaseThe route through actions and menus, errors and eventsEvery production flow
NotesVariable values, on top of BaseFlows whose decisions depend on data
Verbose NotesConversation content and communication values, on top of NotesBots and digital flows under investigation
AllAction input and output values, on top of Verbose NotesShort periods of intensive debugging

03

Replay one conversation step by step

Replay mode shows what happened when a flow ran. Open the flow in Architect, choose Execution History, and select the instance to replay; you need the Architect Flow Instance View and Search permissions, and the flow cannot be edited while in replay. Earlier versions can be replayed too, from the Execution History option on the Save menu, which matters when the fault was in last week's version rather than today's.

The replay controls work like a code debugger. You can play forward or backward, step into an action to follow its internal steps, step over it, step out, and set breakpoints where playback should stop, each with a keyboard shortcut. The timeline at the bottom lists every execution item, from flow start to flow end, and hovering shows details such as the flow execution ID, starting language, start time and whether the flow ran in a secure session. Since November 2026, replay also shows the peak memory used by flow variables and where it occurred.

  1. Find the instance by conversation ID and open it in replay mode.
  2. Play to the point where the caller's experience went wrong, using breakpoints on the suspect actions.
  3. Inspect the variable values and the path each decision took at that point.
  4. Step back to where the bad value was set: a data action response, a participant attribute or a menu choice.
  5. Fix the cause, publish, and replay a new test call to confirm the path is right.

04

Find every affected conversation, not just one

One replayed conversation explains a fault; it does not size it. The Flow Execution History tab on the Architect home page has a query builder that returns flow instances matching a criterion: a conversation ID, a flow ID, a specific flow error or warning code, whether the flow hit any error at all, or the workitem that started it. Genesys notes that you can search by only one criterion at a time, so start with the flow and its error code, then open instances from the results.

The Operational Console, under IT and Integrations, lists operational events for administrators, including Architect flow errors, and Genesys links those events to replay mode for diagnosis. Events are kept for ten days and can be grouped by event definition, so a fault that started after a release shows up as a growing group. The same events can feed your monitoring through the Amazon EventBridge integration, which is how a flow error raises a ticket before the complaints arrive.

05

See where callers actually go

Some flow problems are not errors at all: callers take paths the design never expected. Flow Insights overlays Architect with how often each menu, task and action ran, using up to seven days of data for the version you are viewing, in read-only mode. A menu option nobody chooses, or a task most callers abandon, stands out at once. Genesys lists the licences it needs as CX 1 with Digital Add-on II, or CX 2, CX 3 or CX 4.

For measurement over time, flow outcomes and milestones turn a flow's purpose into reporting. Set Flow Outcome and Add Flow Milestone actions mark whether a caller completed a payment, reached authentication or gave up, and the Flow Outcomes views report on them. Genesys allows 5,000 outcomes and 5,000 milestones per organisation by default, and uses up to 20 milestones per outcome and 100 per flow in reporting. Designing outcomes before go-live gives every later debugging session a baseline to compare against.

06

Loops and the conversation event safeguards

Every action a flow takes on a conversation, such as setting a priority, writing a participant attribute or transferring to a queue, generates a conversation event. To protect the platform, Genesys stops processing events for a conversation after 1,000 conversation events, 100 communications or 250 segments. These limits are fixed. After that point the conversation detail record stops updating, so reporting on segments, participants and wrap-up for that conversation is incomplete.

Genesys names the usual causes: Set Priority called inside an in-queue wait loop, many separate Set Participant Data writes, and designs that bounce a conversation between queues or IVR profiles without a cap. Its advice is to set priority once on the Transfer to ACD action, consolidate attribute writes, and cap requeues. When a long call's reporting looks truncated, or a transfer loop is suspected, count the events in the flow's design before blaming analytics.

07

Data actions, variables and errors

Many flow faults are really integration faults. A Call Data Action that times out or fails sends the caller down its Timeout or Failure path, and a lookup that finds nothing still counts as a success, so the flow must check for empty results itself. Replay shows which path was taken and the values returned; the data action's own Test tab, with its JSON mode for empty and null inputs, shows why. Our data action errors guide covers the error codes in detail.

Unexpected values cause the rest. A variable that was never set, a collection read beyond its end, or a participant attribute written by another flow with a slightly different name all reach later decisions as values nobody designed for. Genesys's resiliency guidance also points out that a flow's default error handling plays a message and disconnects; customising error event handling to route to a queue or another task keeps callers moving when something unexpected happens, and gives you a clear marker to search for afterwards.

08

Publishing, versions and dependencies

Genesys is clear that publishing an updated flow puts the change into effect immediately. That makes every publish a production change, and it is why the fault and the fix often sit in different versions. Note the version number when a fault is reported, replay instances from before and after the last publish, and compare: a fault that started with a release is usually found in the difference between the two versions.

Before changing or removing anything a flow depends on, check what else relies on it. Genesys's object dependency tracking shows the relationships between integrations, data actions and flows, including indirect, multi-level ones, so you can see that a data action used by your flow is also used by three others before you change its contract. Combined with versioned exports of flows, kept outside Genesys Cloud, it turns rollback from a hope into a step in the runbook.

09

How QVCCS helps

QVCCS designs, builds and supports Architect flows for voice, digital, bots and workitems, and we debug them with the evidence Genesys Cloud provides rather than by trial and error. When flows misbehave, we find the cause, fix it and add the outcomes, monitoring and tests that stop it recurring. Our Genesys Cloud health check reviews flow design, execution data settings, error handling and integrations, and our Flow Journey Replay and Flow Mapper applications help teams see and document what their flows really do.

Questions

Common questions

Why does Architect show no execution history for my flow?

Genesys disables historical execution data by default. An administrator must enable execution data storage in Organization Settings, turn on the Architect Flows toggle, and then republish the flows; only conversations after that are captured. You also need the Architect Flow Instance View and Search permissions to see the history.

Can I replay an older version of a flow in Genesys Cloud?

Yes. With the flow open in edit mode, the Save menu offers Execution History, which lists instances from previous versions of the flow, and you can open any of them in replay mode. That lets you compare how the same kind of conversation ran before and after a publish.

Why is reporting incomplete for some long calls?

Genesys stops processing events for a conversation after 1,000 conversation events, 100 communications or 250 segments, and the conversation detail record then stops updating. Repeated Set Priority calls in wait loops, many separate attribute writes and uncapped requeues are the usual causes. Set priority once and consolidate attribute writes.

How do I find all conversations that hit a flow error?

Use the query builder on the Flow Execution History tab of the Architect home page, searching by flow ID and then by flow error code or the Flow Invoked Error criterion; Genesys allows one criterion at a time. The Operational Console also lists Architect flow errors for ten days and links them to replay mode.

Talk it through

Book 30 minutes with Dave Tidwell.

A half-hour Microsoft Teams call with our Managing Director, to talk through whatever this page raised for you: a design question, a migration, a problem you are stuck on, or a second opinion.

  • No expectations. There is no pitch and no follow-up sequence; if the call helps, good, and if not, that is fine too.
  • Your details are used only to arrange and hold the call. They are never added to a newsletter or mailing list, never used for any other unsolicited marketing, and never shared.
  • Pick any free slot in Dave's calendar. Microsoft Bookings sends the Teams invitation, and you can cancel or move it from there.
  • Nothing to prepare. Bring the question; if it needs a specialist, we will say so and introduce you.
Choose a time

Opens Dave's Microsoft Bookings page. How we handle booking details.

Last reviewed

We work by introduction

Clients, partners and people introduced to us can reach the right specialist directly.

Who to contact