Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Ankur Bawiskar
Tera Patron

Often, there is a need to apply a reference qualifier on a reference field based on whether it's a new record or an existing one. Out-of-the-box (OOB), this distinction cannot be determined.

A workaround is to call a function from a script include in the reference qualifier, passing current.sys_created_by.

  • For a new record, current.sys_created_by is empty.
  • For an existing record, current.sys_created_by is populated.

Using this method, you can differentiate between new and existing records and apply your reference qualifier logic accordingly.

You can implement something like this in a script include and reference qualifier:

 

AnkurBawiskar_1-1736338219151.png

 

 

AnkurBawiskar_0-1736338175575.png

 

Version history
Last update:
‎01-08-2025 04:11 AM
Updated by:
Contributors