Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          JUNCTIONIDLIST

          JUNCTIONIDLIST

          Returns a JunctionIDList based on the provided IDs.

          A JunctionIDList is a string array of referenced ID values that represent the many-to-many relationship of an underlying junction entity.

          Use

          JUNCTIONIDLIST(id, id,...) and replace id with the Salesforce ID you want to use.

          Contact Record ID Example
          Contact Record ID Example

          JUNCTIONIDLIST(Case.ContactId)

          This formula returns the case’s contact record ID. When used on the email action for cases, you can use this formula as a predefined value for the To Recipients field. Using this formula as a predefined value for the field ensures that sent emails are always associated with a Salesforce record. In the case feed publisher, users see the contact name instead of the ID or email address.

           
          Loading
          Salesforce Help | Article