--- title: "Create Missing Accounts for Assignment Flow Behavior" slug: "trigger-flow-if-account-is-missing-during-task-assignment" description: "Learn how to automatically create missing Decisions accounts during task assignment using the Create Missing Accounts for Assignment Flow Behavior." updated: 2026-07-02T20:30:56Z published: 2026-07-02T20:30:56Z canonical: "documentation.decisions.com/trigger-flow-if-account-is-missing-during-task-assignment" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Create Missing Accounts for Assignment Flow Behavior | Feature Details | | --- | | **Introduced in Version** | 9.9 | | **Modified in Version** | -- | ## Overview The "**Create Missing Accounts for Assignment Flow Behavior**" behavior is a special Flow type that enables automatic account creation when assigning a task to a user who does not yet exist in the system. This document demonstrates how to configure a Flow that retrieves the email address from the assignment and creates a user account if one is missing, ensuring that task assignments can proceed without interruption. **Note:** This Flow also works with external SSO providers. Although authentication is managed externally, Decisions requires internal accounts to assign tasks. The Flow ensures these accounts are created when missing. --- ## Example ### Configuring Assignment Form 1. Open the **Form** you want to assign to a user who does not yet have an account. 2. In the Form Properties, go to **Assignment Setup** and click **Edit**. 3. In the **Assignment Setup** dialog: 1. Under **From Data > Accounts and Groups**, type in the user account or pass it via Flow. 2. Click **Done** when finished. **Note**: If a validation error appears on the **Assign To** field on the Form, you can safely ignore it. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778605298055.png) ### Creating the Flow 1. Navigate to **Designer Folder** > click **Create Flow**. 2. In the Create Flow dialog, search for "Create Missing Accounts for Assignment Flow Behavior". 3. Select the behavior, give a name, and click **Create**. 4. In the Flow Designer, search for **Create Account** in the Toolbox and drag the step onto the canvas. 5. In the Step Properties: 1. Map the **Email Address** field to the Flow input: **Email Addresses**. **Note**: To create multiple accounts, use a [ForEach](https://documentation.decisions.com/step-library/docs/foreach-step) Step. 2. Enter a **Password** manually or define logic to generate one. **Note:** Ensure the password settings in the portal settings are respected. 6. Save and close the Flow. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778605737308.png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778605856640.png) ### Configuring the Portal Setting 1. Go to **Settings > Portal Settings**. 2. Scroll down and Enable the setting: "**Trigger Flow If Accounts Is Missing During Task Assignment**". 3. A new field, "**Pick Create Missing Accounts For Assignments Flow,**" gets exposed. 4. Select the newly created Flow from the respective project. 5. Click **Save** to apply the setting. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783024228958.png) ### Confirming Account Creation 1. Run the Flow with the Assigned Form step. 2. Go to **Settings > Security > Accounts**. 3. Verify that the accounts entered in the Form Assignment have been successfully created. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783024249145.png)