Test a screen flow that needs a record Id
Debug a screen flow that needs a recordId: paste a record Id in Flow Builder, run it from the record page, and see why it is blank from Setup.
You built a flow for the Account page, pressed Run in Flow Builder, and every screen came back empty. Nothing is broken: there was no record to pass. Here you test the flow with a real record Id, then on the page itself, and guard it against the empty case.

Before you start
The flow has a Text input variable named
recordId, with Available for input checked. See How to pass your current RecordID in your screen flow.You know one record that has data to show, for example an Account with a few open Cases.
Steps
Debug with that Id
In Flow Builder, click Debug. A panel opens on the left with a field for each input variable: paste the Id in the recordId field and click Run.
The flow's screen appears on the right, and the Run Details tab on the left shows what each element did. Check that your Get Records element found the record before you look at the screens.
Why it is blank when launched from Setup
recordId is only filled when something passes it: the Pass record ID into this variable checkbox, a Quick Action, or a value you type in Debug. Run in Flow Builder, the Flows list in Setup and a Flow component on a Home or App page pass nothing, so the variable stays empty. Then:
Get Records filtered on
{!recordId}finds nothing.An Avonni Data Table or Map with a query filter on
{!recordId}shows no rows.An Avonni Record Detail with an empty Record ID switches to create mode and shows a blank form for a new record.
Troubleshooting
Related tutorials
How to pass your current RecordID in your screen flow: the variable and the two launch points.
Filter a Data Table or Map by the current record: the components this test checks.
Screen flow or record-triggered flow: when there is no record to pass at all.
Was this helpful?
