Reusing Assignments
  • 26 Aug 2021
  • 2 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Reusing Assignments

  • Dark
    Light

Article summary

Overview 

Through proper design and setup, a user can configure a Form to Assign it to a specific Account, Group, or Role. To avoid having to create a new Assignment with the same parameters for another user, Assigned Forms offer the ability to be Reused in future processes. The following tutorial demonstrates how to set up an Assignment in a manner where Dates (Warn Date, Late Date, etc...) do not change when the Assignment is Reassigned.

Example

  1. First, Create and Name a Flow with an Assigned Form.
  2. Once in the Flow Designer, search for and add the Add Task step from the Steps tab on the right. 
  3. Select the Form and edit the Assignment Properties. 
  4. Input the Assignee of the Form via Assign To, and create an Assignment Name and Assignment Action Name

  5. With the Form still selected, click the Pick or Create Form link.
  6. Give the Form a Name and then select CREATE.
  7. Configure the Form for the Task. In this example, the Form is configured with two Button Components: one for the Approve path and one for the Hold path. 
  8. This completes the Form's design. Save and Close to return to the Flow Designer. 
    For simple demonstrative purposes, this Form contains two simple buttons. However, if required, Forms can be used to pass on such data as data from a filled out Form. For additional information on creating Forms and passing Flow data through them, see Displaying Flow Data on Forms.

  9. Back in the Flow Designer, connect the Approved path to the End step. 
  10. Navigate to the Flow Management Folder in the Steps tab and add a GoTo step component to the Flow. Connect it to the Hold path. 
  11. With the GoTo Step selected, select [Start Step] from the GoToStepName drop down menu. 
  12. Now, when a user selects Approved, the Flow runs to the End step and the Assignment clears out. 
  13. Whenever they select Hold, the Assignment is Reassigned.
  14. Next, select the Task Form step and select the Edit button next to Assignment Setup to edit the Assignment's settings.
  15. Toggle the Specify Warn Date and Specify Late Date checkboxes. 
  16. Then, select Compute Date for both the Form Assignment Warn Date and Late Date Inputs. 
    Though this document discusses a number of Assignment Settings, it is not all-encompassing. For further information on Assignment Settings and Reuse configuration, see Assignment Settings and Configuration.

  17. Set up the Offset for Warn Date to be 10 minutes after the Start Date, and the Offset value for Late Date to be 10 hours after.
  18. Scroll down to Reuse Assignment and select If Same Assignee from the drop down; this reuses the Assignment upon Assignment to the same initial Assignee. 
    Selecting a Reuse option will trigger additional Reuse settings to display that can be enabled via checkbox. 
  19. Select DONE after configuring the Assignment Setup. 
  20. Save and Close the Flow. 

Debug

  1. From the Flow Designer, select the Debug link from the top toolbar. 
  2. Then, run the Flow in FULL.  An initial Assignment Notification will appear in the upper right-hand corner.

  3. Navigate to the Inbox to confirm that an Assignment was received displaying the proper Warn and Late Date. 
  4. Right-click and work the Assignment. 

  5. Complete the Assignment by selecting Hold. Doing so will trigger the Flow to navigate back to the Start step and rerun the Flow. As a result, an additional Assigned Form alert will appear.
  6. If the Assignment is properly setup, the Warn Date and Late Dates will stay the same. This indicates that the same Assignment was reused and Assigned to the same user.

  7. Select Approved this time and check to ensure that the Flow has completed both paths. 


Was this article helpful?