Well - I got it to work. Here are the steps I took.
- Created a new flow and moved the flow tab right next to the one I wanted to duplicate
- Copied the old flow (I did it in sections/groups) to the new flow page. This will duplicate the dashboard widgets on the original ui-page.
- Created a new ui-page (named it similar to the original and moved it right below the original ui-page in the Dashboard 2 panel on the right side of the editor). The configuration of the page (theme, custom CSS, icon etc. where the same as the original, but the “Path'“ was new.
- On the new ui-page, created the first group (named it exactly as the original and made sure the settings were the same)
- Dragged the duplicate widgets from the original ui-page/group to the new ui-page/group making sure that they were in the same order (Note: the copied widgets are not sorted in same order as the original - eg. Original order 1→2→3, copied order 2→3→1)
- Repeat for each ui-group on the original ui-page.
My earlier approach of importing the flow (after selecting the option to “copy” duplicates) had a few issues.
- It looks like the ui-groups were not duplicated
- The duplicate ui-page had the same “Path” as the original but had no associated groups.
- All the duplicate widgets were under the original group, so I would have had to do steps 4-6 in any case
I have created a “feature request” with some suggestions to improve the process to import flows ( Importing flow duplicates detected - window is not resizable ). Hopefully it will be considered down the line.