---
title: Create workflows
description: For more information about the graphical notations and XML representations for events, flows, gateways, tasks, process constructs, and more, refer to BPMN 2.0 Constructs.
component: pingidm
version: 8.1
page_id: pingidm:workflow-guide:create-workflow
canonical_url: https://docs.pingidentity.com/pingidm/8.1/workflow-guide/create-workflow.html
keywords: ["Workflows", "BPMN", "Workflow Definition", "Business Archive File"]
---

# Create workflows

For more information about the graphical notations and XML representations for events, flows, gateways, tasks, process constructs, and more, refer to [BPMN 2.0 Constructs](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/).

IDM does not support the following constructs:

* [Mule task](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#mule-task)

* [Camel task](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#camel-task)

1. Create a workflow definition, and save it with a `bpmn20.xml` extension.

2. Package the workflow definition file in a Business Archive File (`.bar`). A `.bar` file is similar to a `.zip` file, but with a different extension.

3. Copy the `.bar` file to the `openidm/workflow` directory.

4. Invoke the workflow using a script (`openidm/script/`), or directly, using the REST interface. For more information, refer to [Invoke workflows](invoke-workflow.html).

   You can also [schedule](../schedules-guide/schedules.html) the workflow to be invoked repeatedly, or at a future time.
