Export and Import Workflows

To transfer workflows to other Business Central databases, for example to save time when creating new workflows, you can export and import workflows.

Another way to quickly create workflows is to create workflows from workflow templates. For more information, see Create Workflows from Workflow Templates.

On the Workflow page, you create a workflow by listing the involved steps on the lines. Each step consists of a workflow event, moderated by event conditions, and a workflow response, moderated by response options. You define workflow steps by filling fields on workflow lines from fixed lists of event and response values representing scenarios that are supported by the application code. For more information, see Create Workflows.

To export a workflow

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Workflows, and then choose the related link.
  2. Select a workflow, and then choose the Export to File action.
  3. On the Export File page, choose the Save button.
  4. On the Export page, select a file location, and then choose the Save button.

To import a workflow

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Workflows, and then choose the related link.
  2. Choose the Import from File action.
  3. On the Import page, choose the XML file that contains the workflow, and then choose the Open button.

Caution

If the workflow code already exists in the database, the workflow steps will be overwritten with the steps in the imported workflow.

See Also

Create Workflows
Create Workflows from Workflow Templates
View Archived Workflow Step Instances
Delete Workflows
Walkthrough: Setting Up and Using a Purchase Approval Workflow
Setting Up Workflows
Use Workflows
Workflow

Business Central on Microsoft Learn