Skip to main content

Rules Hack - Dropdown list as identifier

  • March 9, 2021
  • 1 reply
  • 49 views

phaneendhar_lingam
Forum|alt.badge.img+1

In Rules Action, if we are to use a drop-down or (multi-select dropdown) list as an identifer and if nulls are expected from the source,
- everytime a new record is created when the dropdown list is null (since null is not equal to null)
- if we have to use any of the existing dropdown list values as a default value - we are prone to show erroneous data.

Hack: In the MDA dropdown list, create a dummy value 'NA' - this can be used as the default value and no nulls would be populated.

1 reply

sai_ram
Forum|alt.badge.img+1
  • Expert ⭐️⭐️
  • March 10, 2021

@phaneendhar_lingam Thanks for sharing the hack and the request.