Using Assigned Forms For User Information Approval
  • Updated on 10 Apr 2015
  • 7 minutes to read
  • Print
  • Dark
    Light

Using Assigned Forms For User Information Approval

  • Print
  • Dark
    Light

Every form or task has a setting called "Assignment Type " which is either set to "In Session " or "Assigned ". 
When this is set to "ASSIGNED " it means that only the assigned user / group / role can work the form.  Setting this to "ASSIGNED " means that it is now a task.

When we set this to "IN SESSION " it means "Show this form to whomever is currently running the workflow".  This is why initial request forms are always IN SESSION .  
This tutorial demonstrates how to useAssigned Forms for an Approver to request the user to resubmit the Form .
Note, all Forms for this tutorial were predesigned because Form Design is out of this tutorial’s scope.  The forms all use Labels, Text Box's, and Buttons.

Example One:
In this example we will create a Flow with two assigned Forms . The first Form will be assigned to theInitiating User right away and the second Form will be assigned to the Approver . If the Approver rejects the User’s input, then the User is assigned with a new task to resubmit the Form .
We begin in the Designer Folder by clicking the Create Flow button on the Folder Actions panel.
2018-01-19_110204.png

Then, we name our Flow and click CREATE to proceed to the Flow Designer.

2018-01-19_110253.png

In the Flow Designer we expand Flows, Rules, Forms and Reports > Forms [Interaction] > [Current Folder] category and add the User Information Form to our Flow .

2018-01-19_110459-1024x751.png

This Form is used to gather a User’s inputs. It is designed in the following manner…

2018-01-19_111336.png

Back in the Flow Designer we add the Display User Information Form from Flows, Rules, Forms and Reports > Forms [Interaction] > [Current Folder] category next to theUser Information Form on our Flow .

2018-01-19_111428-1024x768.png

This second Form was created for a User to verify his or her inputs and either to Submit the information to Approver or go back to the previous Form to Edit the inputs. It was designed as following…

2018-01-19_111808.png

Back in the Flow Designer we add the Review User Information (approvers) Form from Flows, Rules, Forms and Reports > Forms [Interaction] > [Current Folder] category. This Form should be added on the Submit outcome from the Display User Information Form step.

2018-01-19_111859-1024x770.png

Approvers Form is designed as following. Approver reviews User’s information and either Approves it or Assigns a new task for the User to correct the inputs. Mention, for this example an Approver will be able to compare Initiating User Email and User Input Email . If these emails do not match, approver will create new task for the User with appropriate comments.

2018-01-19_112906.png

Back in the Flow Designer we connect steps in our Flow as following…

2018-01-19_112952.png

Next, we select User Information Form on the workspace and Edit Step assisting layer for this step pops up. In the Assignment Setup section we change Assignment Typ e from InSession to Assigned .

2018-01-19_113516-1024x768.png

Mention, we have step validation issue now because all Assigned Forms have to have at least one assignee. We click Edit Input Mapping for this step.

2018-01-19_113552-1024x769.png

This form should be assigned to the User who is initiating this Flow . To accomplish this, in Mapping Editor we expand Flow Data category and connect InitiatingUserEmail to the Account and Groups field of our Assignment . Click Ok to save changes and return back to the Flow Designer .

2018-01-19_113752-1024x758.png

Back in the Flow Designer with User Information Form Step selected we locate Display section in the Step Information layer. Then, we select Always Automatically Show If Assigned, from the drop down list. Because we assign this Form to the User on the initial run, we do not want to ask him or her if he or she wants to Fill In Assigned Form . By selecting Always , we force the Assigned Form to show up to the assignee.

2018-01-19_113831-1024x766.png

Next, we select Review User Information Form on the workspace and Step Information layer for this step pops up. We change***Assignment Type*** from InSession to Assigned . This Form should be assigned to the approver.

2018-01-19_113936-1024x773.png

This time we use Assignment [edit] link to Add New User as an assignee. Then, we click Ok and DONE to close these windows.

2018-01-19_114053.png

Next we call the Mapping Editor for the Display User Information Form and set it as follows...
We map the output from the User Information Form to the input for the Display User Information Form's Text Box's.

2018-01-19_114341-1024x760.png

Back in the Flow Designer, we call Mapping Editor for theReview User Information Form step.

2018-01-19_114230-1024x768.png

In the Mapping Editor we connect InitiatingUserEmail from Flow Data category to theRev User label on the Form then connect the output from the Display User Information Form to the input from the Review User Information Form. We click Ok to save and continue.

2018-01-19_114341-1024x7601.png

This completes our Flow. To test this we log out from our Admin account and log back in as a User .

2018-01-19_114928.png

In the User’s Portal we locate the thumbnail for our Flow and click Run Flow from the Action menu.

2018-01-19_120705.png

We fill in the Form and click Next

2018-01-19_121337.png

Then, Display User Information Form reflects our inputs and we click Submit .

2018-01-19_121503.png

We log out of User’s Portal and log back in as an the Approver .
We locate new Assignment and click to Fill In the Assigned Form .
Because Initiating User Email does not match User’s Input Email we leave the appropriate comment and send this Form for Resubmission .

2018-01-19_121905.png

Then, we log out and log back in as Initiating User . Mention, that we have a new Assignment . We click it and select to Fill In the Assigned Form.
User Information Form opens with approver’s comments. We correct our Inputs and click Next .

2018-01-19_122551.png

Display User Information Form opens and we click Submit .

2018-01-19_122625.png

We log out and log back in as the Approver . New assignment is available for us. We click it and select to Fill In the Assigned Form.
User’s inputs are corrected and valid now. We can click Approve .

2018-01-19_122706.png

Example Two:
In this example we are going to create a Flow that achieves the same results as in the previous example in this tutorial. This time we are not going to Assign User Information Form right away to the initiating User . Instead, we are going to duplicate this Form and Assign the copy while first one will remain InSession .
We begin in the Designer Folder with clicking Create Flow button from Folder Actions panel.
2018-01-19_122852.png

Next, we Name the Flow and click Create to proceed to the Flow Designer . In the Flow Designer we begin building our Flow in the same manner we did in the previous Example in this tutorial.

2018-01-19_123041.png

Then, instead of connecting Send Back To User outcome from the Review User Information step back to the User Information Form we add User Information Form step again on this outcome. This is done so because first User Information Form will stay InSession and second User Information Form will be Assigned .

2018-01-19_123143-1024x771.png

Then, we add Display User Information Form next to the second User Information Form.

2018-01-19_123207-1024x769.png

Next, we connect steps in our Flow as following…

2018-01-19_123309.png

We select first User Information Form and set AdminComments value to Null . Approvers Comments should never be shown on the first User Information Form because this Form will be shown first and only one time to the Initiating User in the process cycle.

2018-01-19_123401-1024x768.png

Then, we Assign Review User Information Form to the Approver in the exact same manner we did in the previous Example in this tutorial. And, click Edit Input Mapping.

2018-01-19_123443-1024x765.png

In the Mapping Editor we connect InitiatingUserEmail value from the Flow Data category to the InitiatingUser label on the Form . Click Ok to save and close Mapping Editor .

2018-01-19_123519-1024x756.png

Next, we select second User Information Form on the workspace and change Assignment Type from InSession to Assigned . Then, click Edit Input Mapping.

2018-01-19_123555-1024x781.png

In the Mapping Editor we expand Flow Data and connect InitiatingUserEmail to the Accounts and Groups field of the Assignment . Then, click Ok to close Mapping Editor.

2018-01-19_123652-1024x753.png

This completes our Flow . If we test it like we did in the first Example we will see the same results.

2018-01-19_123716.png

Was this article helpful?