What they are
Workflows connect people with tasks and technology. But who are these people, and how do we make sure that the right people are assigned the right task?
We use Workflow Roles to assign webforms to different people throughout a given workflow. When we first begin building a workflow, the default role of the “requester” is assigned every single stage. When we want to make specific people responsible for different workflow stages, we need to first create more roles.
Where they are
We set Workflow Roles up in two places. First, we create roles in our Workflow Options section of the Workflow Builder in the Designer tool. Then, we assign particular roles to particular stages at the Assign Role property of the Stage-level Workflow property.
How to set them up
- Navigate to Workflow Options in your Workflow Builder and select “Roles.”
- Select “Add.”
- You will now be prompted to determine how this role ought to be configured. Is the role identified with a particular registered user? With a particular non-registered user? The six options and their respective configurations are listed below.
- a) Registered User. This role indicates that a particular person who is already registered as a “User” in TAP may be assigned to particular stages. Each time you assign a task to this role, you are effectively assigning it to the same person each time.
- b) Non-Registered User. This role is for a particular person who has not yet become a User of TAP. Maybe you are creating a Coffee Order Workflow and you always want to send the order to the same Coffee Associate, but he or she is not a user in your TAP site. You can give that person a Non-Registered User role – just sign him or her up as a Non-Registered User.
- c) Get User Data From Form. This one has a descriptive name that almost tells you what you need to know! This role is dynamic – it is configured through the workflow itself. You identify a particular text field (Text field: Validation: Email) and then whatever email address is submitted into that form field becomes the role.
- d) Selected User. Like the Get User Data From Form role, this role is dynamic. It is configured dependent on the particular user that someone selects from a drop down of registered users. First create such a drop down (Drop Down: Option: Registered Users) and then identify that drop down with this role.
- e) Group of Users. This “Role” grants permission such that multiple registered users can complete the same task. Like “Selected User,” Group of Users relies upon selecting users from a drop down. This time, it’s no ordinary drop down but a Multi-Select. Any users you select in such a multi-select will be given access to the assigned task.
- e) Group of Roles. This role is a compilation of other Roles. To create a Group of Roles, first create all of your roles (see above) and then list the roles that you would like to group together in this Role configuration.
- NOTE: Group roles can be configured to allow delegation. To do this, check the "Allow Self Assign" box when configuring a group role. You will be required to link this to a user select dropdown that has been added to the form. Once configured, that user select field can be used to delegate stage assignment on a stage assigned to a group role. The stage will initially be assigned to the group, but if a user is selected in the dropdown and the stage is saved, the assignee will update to the selected user.
- After creating a role, toggle back to the Properties section of the Workflow Builder. Select the stage to which you would like to assign a particular role.
- Select “Assign Role” and choose the role (which you have already created in the “Roles” area).