IS_UNIQUE_NAME
Last updated
Was this helpful?
IS_UNIQUE_NAME checks whether a given name does not already exist as a valid instance of a specified type on the platform. It returns true if the name is unique (i.e. no active instance with that name exists), and false otherwise.
This is useful for validation rules that enforce uniqueness of instance names.
p is Person
IS_UNIQUE_NAME('Company', p.company_name)This returns true if no active Company instance with the name stored in p.company_name exists on the platform.
Last updated
Was this helpful?
Was this helpful?
