Dependent picklists

A dependent picklist is a picklist where the available values depend on the value of another field, called the controlling field. The controlling field can be a picklist or a checkbox field on the same record.

For more information on dependent picklists, see the Salesforce help: 

Considerations for using dependent picklists in Sage People:

  • If you copy values from one object to another, make sure field dependencies match. Otherwise you risk running into errors. For example, if you copy values from Application records in Recruit to Employment records in HCM, or if your employment change requests (HR Requests) contain dependent picklists, make sure the dependencies are the same in both the source and target objects.

  • Most WX processes display dependent picklists without respecting the dependency. This means the dependent picklist contains all values regardless of the option selected for the controlling field. People Management Workflow in WX respects field dependencies when displaying dependent picklists.

To create a dependent picklist:

  1. Plan the dependent relationships: the controlling field and its available values, and the dependent field and its available values.

  2. Create the fields, if they do not already exist.

  3. Go to Setup > Object Manager, and select the object.

  4. On the Fields & Relationships page, select Field Dependencies.

    Sage People displays a list of existing field dependencies, if any.

  5. Select New.

  6. Select the fields for Controlling Field and the Dependent Field, and then select Continue

    Screenshot: New Field Dependency screen where you select the controlling and the dependent field

  7. On the Edit Field Dependency screen, define the dependencies between values.

    • The left column displays the names of the controlling and dependent fields.

    • The other columns enable you to choose which values of the dependent field are related to which controlling field values. Columns are displayed in groups of 5 by default, select View All to view all columns at a glance, or select Next to go to the next set.

    • Select a value in a column and use the Include Values and Exclude Values buttons to assign dependent field values to the controlling field values. A yellow background is used for included values.

    When you have completed your selections, the dependency matrix looks like the following screenshot: 

  8. Select Save.