Import/Export Microflow
Last updated
Last updated
Microflow Designer (MFD) allows the microflow to be exported from one application and imported to another application in order to replicate or reuse the microflow. The microflow can even be imported to a completely different environment as well.
Export To export any microflow, there is the "Export" option under the Project Overview screen as shown in the below figure.
Users will have 3 options - Config, Embedded, MicroService.
Config - Export the microflow configurations so that it can be imported to another application.
Embedded - The microflow jar file is used by the Microflow runtime. To copy it to a sit or production environment.
Microservice - To export it as a service to be hosted in that environment.
The user also has the option to choose the microflow that needs to be exported. Users can choose one or more microflows to be exported.
If the user selects the Config option, there are two types of export operations available under Export Config.
Export only configuration
Export configuration along with attached artifacts like jar files (for Java nodes), or wsdl files (Web Service nodes).
The user has the option to choose what to export. Users can choose the Only Config option to export only the microflow configuration or With File option to export the attached jar files and other artifacts.
The exported file is then shown to download and saved to the user's machine. This file contains the entire flow & business objects in JSON format along with the artifacts depending on the option chosen.
Import To import a microflow, there is the Import button on the Project information screen as shown in the below figure.
With the click of this button, the import process dialog is shown. The user has to choose the microflow configuration file by clicking on the "Choose File" button. The system will then show the list of all the available microflows in that file. Users can choose the microflows to be imported to the app. By default, all microflows will be selected.
The user also has the option to import as New or Overwrite existing flow. If the user selects the Overwrite option, then he has to select the microflow to be overwritten as well.
Click on the "Import" button and the microflow will be imported to the application. Once the microflow is imported completely, the user can see all the microflows listed under the Flow Name section as well as in the menu.