Тёмный

Salesforce Flow Loops Explained | Use to Create Multiple Records 

Employed for Good
Подписаться 1,3 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@frankcosette3046
@frankcosette3046 4 месяца назад
Really good quality delivery on your part. Many should learn from you on how to teach. I can only assume there is a team behind you.
@pfleming33
@pfleming33 5 месяцев назад
Absolutely brilliant, was struggling with loops and updating the records outside the loop, thank you for this.
@employedforgood
@employedforgood 5 месяцев назад
Thanks for the comment, glad to hear it helped!
@formerbabyfutureghost
@formerbabyfutureghost 6 месяцев назад
This is the video that finally got single record variables and record collections for loops to sink into my brain. THANK YOU!!!
@employedforgood
@employedforgood 6 месяцев назад
That is so awesome once it finally happens! Thank you for letting me know, I’m glad to hear it!
@marybuchanan3313
@marybuchanan3313 8 месяцев назад
This is exactly what I was trying to do! Thanks so much!
@thedavidjdunn
@thedavidjdunn Год назад
One of the clearest explainers of loops I've encountered. Loved the visuals.
@employedforgood
@employedforgood Год назад
Thanks for the kind note!
@mahanteshbhuyar5524
@mahanteshbhuyar5524 Год назад
Clearly explained!
@helenecoetzee5597
@helenecoetzee5597 2 года назад
Helped me so much! Thanks
@bheemadonthi5780
@bheemadonthi5780 2 года назад
Awesome video mam, i had a similar scenarion (Except the date criteria) and it worked fine, Thanks loads..!
@employedforgood
@employedforgood 2 года назад
You got it, glad it worked out for you!
@anjilesourne
@anjilesourne Год назад
Gosh Thank you! You just saved me a lot of time☺
@bhatsunayana
@bhatsunayana Год назад
Hi! This is very helpful, thank you for the video! I have a question, If I want to create multiple records through flow, and the action that would trigger the flow would be click of a Button, what flow type should I use, screenflow?
@employedforgood
@employedforgood Год назад
Thanks @bhatsunayana! You can technically call Flows from buttons either via autolaunched or screen flow. But you probably want to prompt your users before they create those records, so I'd suggest a screen flow.
@bhatsunayana
@bhatsunayana Год назад
@@employedforgood Thank you for the quick response and suggestion! Appreciate it!
@krishnaCasukhela
@krishnaCasukhela 2 года назад
Hello Mam, You explained the concept extremely well, I have 10 opportunities whose stageName is not equal to closed Won/Lost and I am not using any date criteria. But after the flow kicks in I am seeing for under each opportunity 10 Tasks are being created instead of a single Task
@employedforgood
@employedforgood 2 года назад
Thank you Krishna. It's difficult to troubleshoot without seeing it, but I would start with the debug log. Run the debug and see 1) how many records you find in the GetRecords element, 2)how many Opportunity Ids iterate in the Loop and 3) if your final CreateRecords element is sending the correct number of Tasks to Salesforce . If it's sending multiple tasks with the same Opportunity Id, then it's something earlier on in your Flow - possibly an issue with your Assignment elements, though I can't imagine what that might be. Also, I assume you're using a Schedule-Triggered Flow like the one in the video. If you happen to be using a record-triggered Flow, then it's possible that separate update operations are causing your Flow to continue firing/creating Tasks. Hope some of that was helpful
@GregDyche
@GregDyche Год назад
Great video. I see what I’ve been doing wrong; thank you. When adding the single-record variable to the collection-record variable, you point out removing the period from the value selection, so the whole record is selection instead of a single field. Is that called dot notation? How do I describe that in order to do some more research? I don’t understand why the two step process is needed: collect a single record and then add the single to the collection. Seems like I should be able to add each individual value to the collection-record in a mulit-value assignment, instead of the doing that to the single-record first. Does that make sense? Again, thank you so much for taking the time to make the video. I found it very helpful.
@employedforgood
@employedforgood 10 месяцев назад
Hi Greg - first, apologies for taking so long to respond. I'm just figuring out how to keep tabs on my video comments! I don't believe that step (of removing the period) is considered dot notation necessarily. But to your larger question about adding records to collections vs specific values - you should definitely be able to do the latter. But that depends on how you've set up the collection variable, and more specifically, the format that you select when creating. So for example - if you wanted to grab just the record Id value (text), you could choose that in your Assignment and then add it to a text collection variable. But if you have a record collection variable, like I do in the video, then it only supports full records. A bit late for an explanation, but hopefully that makes sense
@therealbeskarlorian
@therealbeskarlorian 5 месяцев назад
What is the formula in the Date_LastMonth date variable?
@employedforgood
@employedforgood 5 месяцев назад
CASE( MONTH({!$Flow.CurrentDate}), 1,DATE(YEAR({!$Flow.CurrentDate})-1,12,1), DATE(YEAR({!$Flow.CurrentDate}),MONTH({!$Flow.CurrentDate})-1,1) ) Case formula that looks at the month # value for the current/flow run date. If the month is 1 (January), then returns December 1 of the previous year Otherwise, returns the 1st of the previous calendar month
@therealbeskarlorian
@therealbeskarlorian 5 месяцев назад
@@employedforgood thanks for responding!
@dialp4penguin
@dialp4penguin 10 месяцев назад
I sat for hours trying to figure this out, and all I needed to hear was, "just backspace that period"
@employedforgood
@employedforgood 10 месяцев назад
Lol! Been there. Glad I could help with that one!😂
@dialp4penguin
@dialp4penguin 10 месяцев назад
@@employedforgood You definitely could! I've stumbled upon a couple of your videos throughout my SF journey, and they've helped out so much!
@ritamnayek5071
@ritamnayek5071 2 года назад
How to define boolean date variable ?
@employedforgood
@employedforgood 2 года назад
Hi Ritam - in the Flow, create a new resource > choose 'formula' (not variable). For the input, this is what I have: DAY({!$Flow.CurrentDate}) = 1 $Flow.CurrentDate is a system variable you can find within the Flow. DAY is a function that returns the day (number format) of that flow date. The total expression checks if the Flow date is equal to 1.
@ritamnayek5071
@ritamnayek5071 2 года назад
@@employedforgood Thankyou. It's help me a lot 😀
@Trevor.Morrice
@Trevor.Morrice 2 года назад
you didnt show how to setup the new task variable
@employedforgood
@employedforgood 2 года назад
Thanks for watching, Trevor. You can see how the Task variable is configured in this other video, that further explains how record variables work. It starts at 1;37 > ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Dh-Lt04sahE.html
Далее
Salesforce Flow Decision Element Explained
5:30
Просмотров 2,7 тыс.
Salesforce Flow: Loop Element Explained
21:30
Просмотров 8 тыс.
Outsmarted 😂
00:20
Просмотров 2 млн
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
Salesforce Flow: Data Table SECRETS (3 Tricks)
22:03
Просмотров 1,9 тыс.
Salesforce Flow Assignment Element Explained
6:33
Просмотров 4,5 тыс.
Salesforce Flow Loops Explained
6:20
Просмотров 2,7 тыс.