Get started > Use case scenarios - customizing with business rules > Using a rule to remove a value from a list

Using a rule to remove a value from a list

It is not possible to manually remove a value from a list defined in List Management. To remove a list value, you can define a business rule with a list mapping including only the required list values.

You can define the rule as follows:

  1. From the main menu, select Administration > Configuration > Studio > Processes and Rules.

  2. Select the Request record type.

  3. In the tree on the left, select Request (the top level of the tree).
  4. In Rendering forms, click Add, then select Simple rule.

  5. In Field selection rules, select Define suggested values by a list to list mapping.

  6. Click OK.

  7. Click field1, and select Completion code. Then click OK.

  8. Click field2, and type Completion code. Then click OK.

  9. Click mapping definition. For each value from the list on the left that should remain in the list, click the box on the right to open a list of secondary values and select the same value. Do not select the value you want to remove from the list.

  10. Click default values, and select all of the values selected in the mapping definition.
  11. Click Save.

The list is saved with the required values only.