---
title: "How To Create a Workflow"
description: "Create a workflow in Identity Manager through XML configuration: declare activities, set up forms, assign permissions, and add menu items and aspects."
sidebar_position: 20
---

# How To Create a Workflow

This guide shows how to create a [Workflow](../../../integrations/toolkit/xml-configuration/workflows/workflow.md) through the XML configuration.

## Process

1. Declare a new [Workflow](../../../integrations/toolkit/xml-configuration/workflows/workflow.md) with
given activities following Identity Manager's activity templates.
2. Configure the input [Form](../../../integrations/toolkit/xml-configuration/user-interface/form.md) with the
right output type according to the purpose of the workflow.
3. Assign the adequate permissions via an
[Access Control Rule](../../../integrations/toolkit/xml-configuration/access-control/accesscontrolrule.md).
4. Add [Menu Item](../../../integrations/toolkit/xml-configuration/user-interface/menuitem.md).
5. Add [Aspects](../../../integrations/toolkit/xml-configuration/workflows/aspects/index.md), according to the
purpose of the workflow.
6. Add optional elements if needed: [Workflows](../index.md); a
[Configure a Homonym Detection](./configure-homonym-test.md); [Customize Display Tables](../../ui/custom-display-table.md)different from Identity Manager's default one.

## Examples

You can also find configuration examples for several types of workflow:

- [For Resource Creation (Mono Record)](./workflow-create-mono.md)

How to create a workflow to create a new resource with a unique record.

- [For Resource Creation (Multi Records)](./workflow-create-multi.md)

How to create a workflow to create a new resource with several records.

- [For Resource Update (No Record)](./workflow-update-resource.md)

How to create a workflow to update an existing simple resource, i.e. to update, within a given existing resource, properties that don't involve records.

- [For Resource Update (Mono Record)](./workflow-update-mono.md)

How to create a workflow to schedule the replacement of the unique record of an existing resource with a new one.

- [For Resource Update (Multi Records)](./workflow-update-multi.md)

Create a workflow to update an existing resource through its several records.

- [Configure a Homonym Detection](./workflow-update-multi.md)

How to configure the homonym search that checks if a resource already exists in the system, preventing duplicates.

