Constrain field values by work team
You can limit the values that users can select for a field based on the user’s work team membership.
You can further limit the values that users can select for a multi-selection field by specifying the values that the members of a work team are able to select; that is, to constrain the field's valid values based on work team. This feature can reduce the possibility of user error when entering data and prevent the loss of information collected over time.
Note:
If your organization uses more than one topic workflow configuration, any custom fields for the work team context must be defined identically in each topic workflow configuration.- Add the field to a topic workflow configuration
-
- In the left navigation pane, click the
Settings icon (
).
- In the Configure System section, click Manage Topic Workflow Configurations.
- Click the configuration's Row Action
menu (
), and then click Edit.
- On the Edit Topic Workflow Configuration page, click the Fields card.
- To add a field, click the Add Field link.
- In the Column Name field, enter a column name.
- In the Display name field, type a name to display in the user interface.
- From the Format drop-down list, select either string or integer as the format.
- For a string field, in the Length field, specify a maximum field length.
- In the Type section, check Append-only or Multiple Values.
- In the Type section, check Constrained values based on work team.
- In the Context section, select the field context. You must check at least one of these options. The field can be used to collect information for a topic, action, attachment, or work team.
- In the Context section, check Work Team.
- To use the field as a filter, check Display as filter field. See Identify a field as a filter field.
- Click Save.
- In the left navigation pane, click the
Settings icon (
- Define the values
-
- On the Manage Fields page, click the field's
Row Action menu (
), and then click Define Values.
- Click Add Value.
- On the Add Value page, supply a value for users to select.
- Click Save.
- Repeat steps 2 - 4 to add all possible values for the field. Alternatively, you can store all field values in a .csv (comma-separated value) file, and then upload it. See Upload a table of valid values.
- Click Back.
By default, the new field will be editable for a topic or action that is in any workflow state or for every type of document-style attachment. You can make this field required (users must select at least one value before saving), hidden, or visible in certain states or for certain attachment types. See Manage topic field accessibility by state, Manage action field accessibility by state, or Manage attachment field accessibility by type.
- On the Manage Fields page, click the field's
Row Action menu (
- Set site options
-
You can perform the following steps only if you are a superuser.
- In the left navigation pane, click the
Settings icon (
).
- In the Administer System section, click Set Site Options.
- At the bottom of the page, from the Topic
workflow configuration for work team custom fields
drop-down list, select the topic workflow configuration that has the
constrained value field.
Custom work team fields appear when you add and edit work teams only after your topic workflow configuration has been published and this site option has been set.
- Click Save.
- In the left navigation pane, click the
Settings icon (
).
- In the Manage Users section, click Edit Work teams.
- Click the work team's Row Action
menu (
), and then click Edit.
The Edit Work Team page appears. Your new field appears as a multi-selection list field.
- To specify values for members of this work team to select for this field in the user interface, next to the multi-selection list field, click Select Available Values.
- To define the values to present to each set of users, repeat this step for each work team.
- Log out, then log back in.
- To test your new field, in the left navigation pane,
click the Topic Management icon (
), and then add or edit a topic, action, or attachment. The values available for selection in this field reflect your membership in one or more work teams.
- In the left navigation pane, click the
Settings icon (
Parent topic: Manage fields