function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kiyana DunlockKiyana Dunlock 

Storing a list/map in salesforce to reference in formula field

Hi!

I am trying to create a formula field checkbox that checks if a value in a field on the record and on the parent record(master) is a part of the list.

Ex.
Master Record Child Name Field - 'A'
Child Record Name Field - 'B'

UniqueCases List ex.
master record chld name.      child recod name 
              'A'                                          'B'

Example formula

AND(masterRecordChildName != childRecodName , !Contains(UniqueCases.masterRecordChildName,  MasterRecordChildNameField), !Contains(UniqueCases.childRecodName,  ChildRecodNameField))
SwethaSwetha (Salesforce Developers) 
HI Kiyana ,
Can you clarify where you are stuck / the current challenge? Thanks