Saving a SAS® Studio Flow after undoing the move of the leftmost node into a new Swimlane might corrupt the flow


An issue occurs where the node in a new Swimlane disappears when you complete steps similar to the following:

1. Create a new SAS Studio flow made of two or more nodes.
2. Move the leftmost node into a new Swimlane. 
3. Click the Undo icon. The nodes jump out of the Swimlanes. 
4. If you save the flow and reopen it, the node in the new Swimlane is gone.

Below is an example scenario.

1. Create a flow with two or more program steps connected. 

A flow with two or more program steps that are connected to each other.

2. Enable the Submission order option.

3. Drag and drop the leftmost node out of Swimlane 1. The node is included in Swimlane 2, as shown in the following image:

The left-most node is included in Swimlane 2

4. Click the Undo icon. The node jumps out of both Swimlanes. 

5. Save the flow. Alternatively, you can Save As with a new name. 

6. Close and reopen the flow (or open the flow that you saved with a new name). 

    Note that all the nodes have been erased, the Swimlanes are empty, and the code is lost. 

All nodes have been erased, the Swimlanes are empty, and the code is lost.