Changing User Assignments
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Changing User Assignments

  • Dark
    Light

Article summary

Example Lab Article
While 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

Version6.4.0
Root FolderExample Lab - Changing Assignments
Modules None
DependenciesNone

This Example Lab project demonstrates how to change what user(s) an assignment is assigned to after it has already been assigned.


Explanation

To test this project the user must first run the flow "Create Assignment". This Flow will create an assignment titled "Change assignment example" and assign it to the current user automatically. In order to change the assigned user run the Flow titled "Change Assignment". The Flow will first display the "select assignment" Form, here the user can search for any current assignment by name, for convenience, the assignment created in the previously run Flow is prefilled into the textbox. Once the user clicks the "Search" button the textbox input will be passed to the Fetch Entities step, where if the assignment exists that assignment data will be output into the Flow. If the Fetch Entities step yields no results a popup will be displayed informing the user of the error and the user will be redirected back to the "select assignment" Form. Once the assignment has been found the Flow will display the "Change Assignee" Form. Here the user will be able to view a list of the current assignees and be able to change the assigned user(s) to any desired input by adding assignees in the "Add Assignee" textbox. The Flow will then use a series of ForEach steps to remove the assignment from the currently assigned users and add the assignment to the newly added users.

Reference Articles



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 6.4.0 or later using our Importing/Exporting article.





Was this article helpful?