Importing an App

Importing the .json file of an app, makes it easy to use flows and triggers from another Flogo app. You can import the .json file to a new app, which does not have flows. You can also import it to an existing app that contains flows.

Important Considerations

Consider the following points before you import an app:
  • Flogo apps that are exported from Flogo Enterprise 2.5.0 and later cannot be imported into previous versions of Flogo Enterprise.
  • A flow in the app can have the community-developed extensions. You can import such apps without the extension. You can import the extension later by clicking the missing extension.
  • Some apps created in Project Flogo use the any data type. The any data type is not supported in Flogo Enterprise. Such apps get imported successfully, but the element of type any gets converted into an empty object. Explicitly use the mapper to populate the empty object with member elements.
  • The passwords and secrets for any connections configured in the app do not get imported. Reconfigure any password or secret for the connection after the app has been imported.

  • When you import an app that does not have a Return Activity in any flow (main or branched flow), the Return Activity is not added automatically by default. However, if an existing app already has Return activities in main or branched flows, the app is imported as expected.
  • When importing an app, the long and double data types get converted to the number data type.
  • When importing an app into an existing app, if the existing app has entities with the same name as the ones you are importing, a warning is displayed. You can opt not to import those flows, activities, or triggers. You can go back and rename them using the UI, export the app again, and reimport it.

  • When importing apps that were exported from Project Flogo, be aware of the following:
    • If the apps being imported use an Activity that is not supported in Flogo Enterprise, a validation error is displayed.

    • You can only import apps that were created in Project Flogo version 0.5.2 or above.