Creating and Using Assignment RolesLast Updated: 06/13/2015 Introduced in Verision: 2.0
Assignment roles are used to define responsibilities such as Designer, Analyst, Manager, or Change Advisor. Each role is comprised of groups and users. Entities such as To Dos, forms, reports, pages, or service catalog items can be assigned to assignment roles, as well as users and groups.
To create an assignment role, navigate to System > Common Data Elements > Assignment Roles and click the Create Assignment Role button.
In the example, we will:
- Create an assignment role.
- Add an account and a group to the assignment role.
- Access a flow, then assign a form in the flow to the assignment role.
- Run the flow.
- Navigate to the My Home folder to see the task assigned to us in the Tasks list.
We will begin in the portal by navigating to System > Common Data Elements > Assignment Roles and clicking the Create Assignment Role button.
In the resulting Create Assignment Role pop-up, we will select the Name field and type “Assignment_Role”.
Next to the Default Accounts list, we will click the Add button.
In the resulting Select Account pop-up, we will select our own account, firstname.lastname@example.org, and click OK.
Next to the Default Groups list, we will click the Add button.
In the resulting Select Group pop-up, we will select the Administrators group and click OK.
This completes our assignment role, so we will click Save.
To see our new assignment role in action, we will navigate to our Designer Project folder, Designer Folder. We will select a pre-designed flow called User Information Flow and click the Edit link.
In the Flow Designer, we will select our flow’s primary step – an interaction form called Leave Request Form.
In the Properties panel, under the Form Assignment > Assignment section, we will select Assigned in the Assignment Type drop down.
Several new properties will appear as a result of our change. For Assignment Name, we will select a Mapping type of Constant and fill in Value with “Assigned to Role”. For Assignment Action Name, we will select a Mapping type of Constant and fill in Value with “Form”.
Under the section Form Assignment > Assign, we will click the Assign To Role selector.
In the resulting Select Assignment Role pop-up, we will select Assignment_Role and click OK.
This completes our flow, so we will save it and close the Flow Designer.
Back in Designer Folder, we will select our flow and, in its Action menu, we will select Run > Run Flow.
The form in our flow is assigned to us. To see the assignment, we will decline to fill the form out immediately by clicking No.
We will navigate to the My Home folder where we will find the Assigned to Role task listed in the Tasks panel.