Skip to main content
Flows move between FlowForma sites as XML. You export the flow from the source site, then import that file into the target site, remapping anything that pointed at the old environment as you go. Both commands live on the ribbon of the Flows list. To open it, click Edit existing process flow in the site navigation, or expand System Administration and click Flows.

Export a flow

Export the flow before you make significant changes to it. The XML file is the most reliable way to get a flow back to a known good state, and it is what you re-import if a change needs to be rolled back.
  1. Open the Flows list, select the flow you want to export, then click Export Flow on the ribbon. The Flows list with a flow selected and the Export Flow command on the ribbon
  2. The Export flow dialog opens with your selection already in the Flow list. You can change it here if you picked the wrong flow. The Export flow dialog with the flow selected and all three additional options checked
  3. Review the Additional Options, described below. All three are selected by default, which is what you want for a normal move between sites.
  4. Click Export. A Right-click here and select ‘Save target as…’ link appears at the bottom of the dialog. The Export flow dialog after clicking Export, showing the right-click download link
  5. Right-click that link and choose Save target as (some browsers label this Save link as), then save the XML file somewhere you can reach from the site you are importing into. The file is named after the flow.
  6. Click Close to dismiss the dialog.

Additional options

Import a flow

The advanced import gives you extra options when importing a flow into a site, including selecting the lists the flow needs and a person and group picker for reassigned steps. Previously you had to work through the flow manually and rewire any rule or question where a URL still pointed at the old environment. Now you only do this once, and the URL is updated everywhere it is used. Open the Flows list on the target site and click Import Flow on the ribbon. The Import flow dialog opens with a section for each part of the flow that may need attention. The sections stay empty and Import stays unavailable until you choose a file. Not every section fills in for every flow: a flow with no SQL connections has nothing to show in that section. Work down the dialog, resolving each section in turn, then click Import. The empty FlowForma Import flow dialog listing its File, Steps, Questions, Document URLs, Add / Update form rule actions, Lists, SQL Connections, Email templates, Document templates, and Users sections

File

Click Choose File, then navigate to and select the XML file of the flow you want to import. The rest of the dialog fills in once the file is loaded. The File section of the import dialog with an XML file selected

Warnings

If the flow relies on anything the target site cannot provide, a warning appears directly below the File section. Read these before you go any further, because some of them mean work after the import:
  • External add-ons that are not present in the system. The flow uses a custom question or rule action, or a feature that is not part of the target site’s subscription. The listed items will not work until that add-on or feature is available.
  • Missing default email templates. Pick an existing template in the Email templates section below.
  • Rules to check after import. Individual rules that reference something the import cannot resolve, listed with the step they sit on.
  • Work Items rules will not be imported. Any Work Items rule in the flow is dropped and has to be recreated by hand after the import. The warning lists each one with its step, so capture that list before you close the dialog.

Steps

This section lists the steps in the flow and shows any conflicts with existing step codes. You can overwrite a conflicting step code or enter a new unique value. Step codes are limited to 10 characters. The Steps section listing step codes, titles, and an Overwrite checkbox against each conflict

Questions

This section lists the questions in the flow, including questions inside repeating tables, and shows any conflicts with existing question codes. You can overwrite a conflicting question code or enter a new unique value. The Questions section listing question codes, titles, and locations with an Overwrite checkbox against each conflict

Document URLs

Here you repoint the document locations the flow uses, so they refer to the target site rather than the site the flow came from. The section is split into two tables: The Rule Actions table showing a Convert Word to PDF rule with an editable document URL

Add / Update form rule actions

An Add/update form rule writes into another flow’s form, so its mappings almost always need attention on a new site. This section lists each of these rules with the step it sits on. Click the edit button beside a rule to open the rule editor and rewire it without leaving the import.

Lists

Here you can reselect the lists used within the flow. You only need to do this once: everywhere the original list is used, it is replaced with the newly selected list. If you have already added the lists to the site, select the Use same lists option. The Lists section mapping each original list to a list on the target site

SQL connections

Here you map each SQL connection the flow uses to a connection defined on the target site. This covers SQL lookup questions, including those inside repeating tables, and Execute SQL stored procedure rules. If the target site already has connections with the same details, select the Use same SQL Connections option.

Email templates

Here you can choose which email templates to import. Each template is set to New by default, which creates a copy on the target site. Choose Existing and pick a template instead for the standard reject, delegate, and pass back templates, which the site already has. You can also edit the Title to rename a template as it is imported. The Email templates section with New and Existing options against each template

Document templates

This section lists the document templates that came with the flow. Where a template of the same name already exists on the site, select Overwrite to replace it, otherwise the template is added alongside it. The Document templates section listing template titles and document names

Users

Here you can select the people and groups to assign to the steps. These users must already exist on the site you are importing the flow to. The Users section mapping each original user or group to a new value

After importing

If the site already has a flow with the same name, the imported flow is created as Flow name (1), then (2), and so on. Email templates are handled the same way. Rename the flow afterwards if you need to. The export file does not carry the flow’s licence, so check the Licensed column on the Flows list and license the imported flow before you use it.
If a File Upload question uploads to a document library other than the default Forms Documents library, you need to update this manually in the Flow Designer.
Security Wizard settings are not included when you export or import a flow. You need to reconfigure the Security Wizard after importing a flow to a new site.