Version Control Workflows

See below for procedures to follow version control workflows while you design flows in the Flow Designer.

Using the Lock-Edit-Unlock Workflow

Locks are a mechanism that prevent users from overwriting each other's changes and losing work. When you lock a file, other users can't modify it until you release the lock. Committing your changes releases the lock.

Projects and other Flow Service files require a lock to edit. You can also require locks for other files, for example, graphics files and other files that can't be edited simultaneously.

See below to use the lock-edit-unlock workflow in the Flow Designer.

  1. Update to the latest revision: You can select files and folders in the tree pane or file pane and click the Update buttonin the version control toolbar.
  2. Lock the file: You can select files and click the Lock buttonin the version control toolbar.
  3. Modify the working copy.
  4. Commit your changes: You can click the Commit buttonin the version control toolbar.

Note

Best practices are to notify your teammates before you lock, explain why you're locking, and estimate when you plan to remove the lock.

Using the Copy-Modify-Merge Workflow

You can follow the copy-modify-merge workflow for non-Flow-Service files. In the copy-modify-merge workflow, multiple users can write to the same file. This can result in changes that conflict; you'll need to manually resolve the conflict.

See below to use the copy-modify-merge workflow in the Flow Designer:

  1. Update to the latest revision: You can select files and folders and click the Update buttonin the version control toolbar.
  2. Modify the working copy.
  3. Commit your changes: You can select files and folders in the tree pane or file pane and click the Commit buttonin the version control toolbar.

Conflicts can occur whenever you update. You can use the Flow Designer to resolve conflicts.

Configuring Lock and Ignore Settings

Configure the following settings in the version control settings for a Flow Service user. To configure the settings, in the management console, go to the Tools > Account page and in the Version Control section, click Edit.

Lock Required Specify file patterns in a semicolon-separated list.The default is *.xfp;*.xmp;*.xvar;*.xsf.
Ignore Use file patterns to specify the files by the file type.