Simplifying Workflow Conversion
Frequently, I design a workflow and realize the need to switch it from a User Flow to a Fragment, either due to oversight during creation or the newfound requirement for reusability. The current process of converting the workflow in the studio is rather cumbersome. Although I've managed to export the Flow, manually tweak the XML, and then re-import it to achieve a Fragment, it strikes me that this procedure could be streamlined. Perhaps a more user-friendly approach would involve incorporating a 'Convert To' option, accessible through a simple right-click within the server explorer, offering a range of flow type transformations
Jonas Gabrielson commented
Great idea! I also second Albins idea of creating a fragment from a part of an existing flow, especially if that process could also automatically find the variables needed in the new fragment and add them to the fragment Input step and also handle data output in some way.
Albin Lundberg commented
This is a great idea! Additionally it would be great if you also could select a section of your flow and via RMB convert to a fragment.