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

jcmings
Mega Sage

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
Mega Sage

Solution located in original post

View solution in original post

34 REPLIES 34

Yep--that seems to be it.
I have a Flow I'm working on and when I deactivated the variables--even after removing them entirely from the Flow--I am unable to save it.

So I put the variables back in but hid them so that they won't cause any problems...

Mark Poole
Tera Contributor

I just encountered this same issue with my flow.
opened Developer tools in Edge, I know, MS, oh well..
found modal, entered jQuery('.ReactModalPortal').hide() into console...

Copying flow only copied the issue too.

tested flow, tested fine.

changing views works.

Activate button is blue, clicking he activate button shows Error: Cannot read properties of undefined (reading 'warnings').
not sure where to go now/next....

argh!

at least with this technique, I am able to drill into each activity and recreate in a new flow...

Dustin Taber1
Tera Expert

Saved my day!

Ravi Prasad589
Tera Contributor

Please find this KB from ServiceNow providing a resolution to this issue - 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1709519