Enable list actions based on dynamic conditions

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Configure declarative actions for a list or related list to be enabled if the record satisfies dynamic conditions.

    Before you begin

    Role required: admin

    The system property glide.list.actions_conditional_evaluation_enabled

    controls whether the action for a list is enabled. This property is available by default.

    Procedure

    1. In the navigation filter, enter List or Related List for the action you want to configure.
    2. Enable dynamic evaluation of a list or related list action by enabling Record Selection Required and Experience Restricted in the Action Assignment record.
    3. Define the dynamic evaluation of a list or related list by applying the following configurations to the Condition tab within the Action Assignment.
      FieldConfiguration
      Enable Dynamic Evaluation Set to true to use dynamic evaluation.
      Dynamic Script Condition Write a scripted condition for dynamic evaluation.
      Dynamic Record Conditions Add conditions for dynamic evaluation if you don't want to write a scripted condition.

      Configurations for dynamic evaluation

      Note:
      You may experience slowness and unresponsiveness if this feature is used in combination with the Select All, which selects all records in a list, as conditions must be evaluated for all the selected records.