Skip to main content

Hi everyone, 

 

I’m working on an OmniScript that includes a repeatable block on the Complaint Details

step. Inside the repeatable block, I ask the user whether they want to: 

 

 • Use an existing contact, or

 • Create a new contact

 

Based on this choice:

 

 • If the user selects existing contact, a typeahead component is shown to search and select a Contact record.

 • If the user selects new contact, a separate input field appears to capture the new contact’s details, which I later use to create a Contact record. 

 

The problem I’m encountering is this:

When I add multiple entries in the repeatable block and select “new contact” in the first entry, that choice applies to all repeatable items — causing the typeahead or new contact fields to show/hide in all rows together, rather than independently.

This prevents me from selecting an existing contact in one repeatable row and creating a new one in another. 

 

How can I make the conditional logic for the typeahead input work independently within each instance of the repeatable block? 

 

Thanks in advance for any guidance!

#Trailhead #Salesforce Developer #Omnistudio #Typeaheadblock #Repeatable Fields

2 件の回答
  1. 2025年12月12日 9:42

     Unlocking the Per-Row Fix Use %

    Index% in conditional views for row-specific logic. 

    Easy Configuration: Radio: ContactType (New/Existing). 

    Display in Typeahead: {%ContactType%} == "Existing".  

     

    {%ContactType%} == "New" refers to a novel field.  

    Boom! distinct rows. Now try a few entries—mix 'n match works!

    @Steve Yagci If this helps you kindly let me know. 

0/9000