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
- Choose the 
 icon, enter Workflows, and then choose the related link.   - Select a workflow, and then choose the Export to File action.
 - On the Export File page, choose the Save button.
 - On the Export page, select a file location, and then choose the Save button.
 
To import a workflow
- Choose the 
 icon, enter Workflows, and then choose the related link.   - Choose the Import from File action.
 - 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
 Using Workflows
 Workflow