Subflows not having the Latest Snapshot on the instance can not be put on a flow.
Steps to Reproduce
1. Create a flow.
2. Try to add Requested Item Manager Approval subflow to the flow.
Notice nothing happens and the rest request returns a flow not found.
This problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.
The workaround script below fixes the issue by setting the latest snapshot to the same id as the master snapshot on the three catalog Sub Flows that are not working.
var gr = new GlideRecord("sys_hub_flow");
gr.addQuery("main_snapshot", "!=", "");
var snapshot = new GlideRecord("sys_hub_flow_snapshot");
gs.print("Fixing latest snaphot for " + gr.name);
gr.latest_snapshot = gr.main_snapshot;
Related Problem: PRB1392398