We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

"Your flow cannot be found. Flow sys_id:An" error

jcmings
ServiceNow Employee

Sorry if this is the wrong place to put this -- but I ran into this issue the other day and couldn't find any guidance and wanted to post the solution that ended up working for me.

 

Problem: 

Whenever I open a specific flow in Flow Designer, I get the error "Your flow cannot be found. Flow sys_id:An." This prevents any changes to my flow from truly saving. 

 

Solution:

Many of the solutions I found online coached going to sys_hub_flow.list and pulling in the "Main snapshot" field and then pasting that sys_id into the URL of your errored out flow designer screen. While this allowed me to load the flow, it didn't recognize any changes I made. To finally resolve the error, I followed these steps:

  1. In the Flow Designer landing page, right click the name of the flow causing issues and copy the sys_id
  2. Navigate to sys_update_version.list and paste in the sys_id of my erroring flow
  3. Revert to a previous (working) version of the flow

 

Other notes:

A lot of the posts I found online (mainly on these forums) discussed running into this issue when migrating a flow between environments. In most cases, users failed to move a sub-flow as well, and this caused issues. I happened to run into this error in a single environment, and I believe it's because I messed with the "Latest snapshot" field. 

 

Hope this helps!

1 ACCEPTED SOLUTION

jcmings
ServiceNow Employee

Solution located in original post

View solution in original post

36 REPLIES 36

Lakshmi Chettia
Tera Contributor

I had the same error and checked i had overwritten the existing flow.

You can refer to the  KB - KB1709519  , if accessible 

OR

Follow these steps to resolve the issue:

  1. Use the right mouse button to see inspect element on the popup window displaying the error. ( Content not found )
  2. In the browser's developer tools, locate the HTML code: <div class="ReactModalPortal"> and remove it.
  3. The flow should now be editable.
  4. Go to where the "get Catalog variables" action update them and check for any errors and fix them
  5. Check other flow steps for references to deleted variables, noting that data pills may still display these as valid even when they're not.
  6. This should now allow you to Save/ Activate the flow and work as expected
  7. Note: Clear Cache or login again to see the changes taking place

For me the above did a help a little but didn't fix the issue .So I  looked for an update set which had the entire flow from the past  from another sub instance and committed the same to bring back the flow.

LakshmiChettia_0-1762434729786.png

 

 

Chad Hayes
Tera Contributor

Issue

When opening a flow in Flow Designer, administrators receive:
“Your flow cannot be found. Flow sys_id:n ”

ChadHayes_1-1782923540187.png

 

The flow exists and opens correctly in other instances (e.g., TEST/PROD), but fails in the affected environment (e.g., DEV).

 

Root Cause

This issue is caused by corruption or misalignment in the Flow Designer snapshot chain (sys_hub_flow_snapshot), typically due to:

  • Incomplete update set promotion
  • Missing snapshot records
  • Invalid "Latest snapshot" references

 

Resolution

1. Create a new update set in a working instance

Navigate:

All > Local Update Sets > New

 

2. Force regeneration of the Flow snapshot

Navigate:

All > Flow Designer > <Flow Name>

Steps:

  1. Open the flow
  2. Click Edit
  3. Modify an annotation (add/remove a character)
  4. Click ellipses (...)
  5. Select Force Save
  6. Select Activate (Publish)

This step forces creation of a new valid snapshot.

 

3. Validate snapshot creation

Navigate:

sys_hub_flow_snapshot.list

  • Filter by flow name
  • Confirm a new snapshot:
    • Updated today
    • Updated by your user

 

4. Verify snapshot is included in update set

  1. Copy sys_id of the new snapshot
  2. Open the update set’s customer update
  3. Search XML (Ctrl + F)
  4. Confirm snapshot sys_id exists

This ensures snapshot data will be promoted correctly.

 

5. Export the update set

  1. Set update set to Complete
  2. Save
  3. Select Export to XML

6. Import into affected instance

Navigate:

All > Retrieved Update Sets

Steps:

  1. Select Import Update Set from XML
  2. Upload XML
  3. Preview update set

 

7. Handle preview conflicts

If errors occur:

  • Select Accept Remote Update

This overwrites corrupted local snapshot records.

 

8. Commit update set

  • Click Commit

 

9. Validate resolution

Navigate:

Flow Designer > <Flow Name>

  • Open the flow
  • Confirm error no longer appears

 

Post-Remediation Step

After opening in affected instance:

  1. Click Save
  2. Click Publish

This ensures the snapshot chain is rebuilt locally.