Skip to content

Import a workflow

Importing a workflow from a file is one of two ways to create a workflow, the other being the wizard described in the article dedicated to the topic.

To import a workflow that has been previously exported in the same or in another installation of EI-Flow:

  • To create a public workflow, in any of the main pages excluding Administration, select the plus icon on the top toolbar then choose Import workflow.
  • To create a project workflow:

    • If the project has just been created, select Import workflow inside the Workflows panel.

    Otherwise:

    1. If not already opened, open the project.
    2. If not already selected, select the Workflows tab on the top toolbar, then:

      • If the project doesn't have workflows, select Import workflow.
      • If the project already has some workflows, select the plus icon at the top of the left panel then choose Import workflow.

In all the cases above a dialog appears:

  1. Select Upload: a file system exploration window appears. Locate the file with .wfpk extension and open it. The maximum file size is 2 GB.

    To choose a different file, select Replace.

  2. Expand the preferences to check and possibly change them.

    • Under Workflow ID, choose how to set the workflow ID, the identification code that is required to use the workflow programmatically with the EI-Flow API:

      • Select Use existing package ID or auto-generate if missing (default) if you want the ID to be taken from the definition contained in the package file or be automatically generated by the system if not specified in the definition.

      Or:

      • Select Custom to set the ID you prefer, then type it in the Custom ID field. The custom ID must be:

        • Unique, no other workflow can have the same ID.
        • Between 5 and 36 characters long
        • Made only of ASCII characters of these subsets:

          • Lowercase letters
          • Digits
          • Dash (-)

        By default, the custom ID is derived from the name of the package file, but you are free to change it as you like.

      Note

      The workflow ID cannot be changed later.

    • Under Custom components, choose how to deal with conflicting custom components, that is components of the package having the same name and version as custom components that already exist:

      • Discard (default): the manifests of conflicting custom components are not imported.
      • Duplicate: the manifests of conflicting custom components are imported as new copies, alongside the existing ones.
      • Stop import: the import operation fails if there are conflicting custom components.

    To hide the preferences, select Hide preferences: the link then summarizes your choices.

  3. Select Import to start the operation. Import is only available after you have chosen the file.

The import operation creates a new workflow that gets automatically opened in the editor.