One of the clearest explainers of loops I've encountered. Loved the visuals.
@employedforgood Жыл бұрын
Thanks for the kind note!
@frankcosette30466 ай бұрын
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.
@formerbabyfutureghost8 ай бұрын
This is the video that finally got single record variables and record collections for loops to sink into my brain. THANK YOU!!!
@employedforgood8 ай бұрын
That is so awesome once it finally happens! Thank you for letting me know, I’m glad to hear it!
@pfleming337 ай бұрын
Absolutely brilliant, was struggling with loops and updating the records outside the loop, thank you for this.
@employedforgood7 ай бұрын
Thanks for the comment, glad to hear it helped!
@marybuchanan331310 ай бұрын
This is exactly what I was trying to do! Thanks so much!
@mahanteshbhuyar5524 Жыл бұрын
Clearly explained!
@helenecoetzee55972 жыл бұрын
Helped me so much! Thanks
@anjilesourne Жыл бұрын
Gosh Thank you! You just saved me a lot of time☺
@bheemadonthi57802 жыл бұрын
Awesome video mam, i had a similar scenarion (Except the date criteria) and it worked fine, Thanks loads..!
@employedforgood2 жыл бұрын
You got it, glad it worked out for you!
@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 Жыл бұрын
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 Жыл бұрын
@@employedforgood Thank you for the quick response and suggestion! Appreciate it!
@krishnaCasukhela2 жыл бұрын
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
@employedforgood2 жыл бұрын
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
@dialp4penguin Жыл бұрын
I sat for hours trying to figure this out, and all I needed to hear was, "just backspace that period"
@employedforgood Жыл бұрын
Lol! Been there. Glad I could help with that one!😂
@dialp4penguin Жыл бұрын
@@employedforgood You definitely could! I've stumbled upon a couple of your videos throughout my SF journey, and they've helped out so much!
@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 Жыл бұрын
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
@therealbeskarlorian7 ай бұрын
What is the formula in the Date_LastMonth date variable?
@employedforgood7 ай бұрын
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
@therealbeskarlorian7 ай бұрын
@@employedforgood thanks for responding!
@ritamnayek50712 жыл бұрын
How to define boolean date variable ?
@employedforgood2 жыл бұрын
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.
@ritamnayek50712 жыл бұрын
@@employedforgood Thankyou. It's help me a lot 😀
@Trevor.Morrice2 жыл бұрын
you didnt show how to setup the new task variable
@employedforgood2 жыл бұрын
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 > kzbin.info/www/bejne/epmQfadmadiUnqc