Repeater and Loops in Salesforce Screen Flow | Salesforce Administrator

Опубликовано: 04 Июль 2026
на канале: Yalla Salesforce
288
3

IIn this video (Episode 49 – Part 3), we build a Screen Flow that uses the Repeater component to create and update multiple Contacts at once—all on a single screen. You’ll see how to prepopulate existing contacts, edit inline, add new rows, then loop through the repeater and upsert everything in one bulk-safe operation.

https://trailhead.salesforce.com/cont...


🎯 Perfect for:
Admins & Developers building automation without code
Anyone preparing for the Salesforce Administrator Certification
Salesforce Admins who want to level up and think like Developers

📌 What You’ll Learn:
🧩 Repeater Basics
Configure a Repeater with Name, Title, Email, and Business Phone.
Set a data source (Get Existing Contacts) and default values so existing records pre-fill.

🔁 Looping Repeater Data
Why Transform can’t handle repeater data—and when to Loop.
Use All Items (added, prepopulated, deleted) or target specific buckets.

🧱 Record Variables & Collections
Map the Current Item from Loop into a record variable (CurrentContact).
Add it to a record collection (NewAndChangedContacts) for one-shot DML.

🆙 Upsert (Create + Update)
Use Create Records with “Update existing records” enabled.
Identify existing rows by Record ID to avoid duplicates.

🧠 Best Practices
Get data before the loop; commit after the loop.
Keep flows bulk-safe and governor-limit friendly.

⏱️ Timestamps:
00:00 – Intro: Why Repeaters
02:49 – Repeater in Screen Flow
06:51 – Configure Data Source (pre-populate)
09:45 – Loop over Repeater (All Items)
16:42 – Upsert Contacts with Create Records
18:48 – Add Flow as Action (Lightning)
21:40 – Clone Case Screen Flow


🚀 Related Playlists:
Salesforce Flows    • Salesforce Flows  

🔗 Follow Us for More Salesforce Insights:
LinkedIn: [  / yalla-salesforce  ]
LinkedIn: [  / bassem-ismaiel  ]
Trailhead: [https://www.salesforce.com/trailblaze...]
Trailhead: [https://www.salesforce.com/trailblaze...]

#Salesforce #YallaSalesforce #FlowBuilder #ScreenFlow #Repeater #SalesforceFlows #Automation #Upsert #CreateRecords #RecordCollection #GovernorLimits #BestPractices #Trailhead #MassUpdate #DataEntry