--- title: "Triggering an Activity on Initial Assignment" slug: "triggering-an-activity-on-initial-assignment" updated: 2023-09-06T10:48:03Z published: 2023-09-06T10:48:03Z canonical: "documentation.decisions.com/triggering-an-activity-on-initial-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. # Triggering an Activity on Initial Assignment Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 8.1 | | **Root Folder** | Example Lab - Trigger Activity on Initial Assignment | | **Modules** | None | | **Dependencies** | None | This Example Lab demonstrates how to use a Form Assignment Handler Flow within an Assignment to send a custom notification upon initial Assignment. --- ## Explanation The following Example Lab project consists of three items: a **Flow** containing all logic "Parent Flow", an example **Assignment** "Example Assignment", and a **Form Assignment Handler Flow** "Triggered Activity - Flow Assignment Handler Flow" that sends the notification. Within the parent Flow, the Assignment should be assigned to the initiating account for the sake of simplicity for this Example Lab; however, any account may be assigned this Assignment and any account may receive its subsequent custom notification. In the Assignment's On Step Run settings, the **Step Start Flow Type** is set to **SharedFlow** so a Form Assignment Handler Flow may be created. Within the Form Assignment Handler Flow, "Action String" [String] input data is added to the Flow as well as a **Send Notification To Accounts and Groups** step. This step's **Notify User** setting should specify which account will receive the notification once the assignee receives the Assignment. Returning back to the Assignment's On Step Run settings, the **URL Parameter Name** settings should now select the "Action String" input made in the Handler Flow. After running the parent Flow, the user(s) specified in the Notify User setting will receive a notification once the assignee gets the Assignment. Reference Articles[](https://documentation.decisions.com/v8/docs/about-assignments)[Assignment Settings and Configurations](https://documentation.decisions.com/v8/docs/assignment-settings) [](https://documentation.decisions.com/v8/docs/assignment-settings)[Send Notifications Step](https://documentation.decisions.com/step-library/docs/send-notification-step) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1652367436126.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version v8.1 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[TriggerActivityOnInitialAssignment].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BTriggerActivityOnInitialAssignment%5D.zip) ---