Flow to update Parent Record From Child Field Values - Salesforce Spring 21 Record Triggered Flow

  Рет қаралды 29,072

Salesforce Geek

Salesforce Geek

Күн бұрын

Пікірлер: 50
@香取亜由菜
@香取亜由菜 2 жыл бұрын
Thank you so much for your Video! I don't really find practical module of Flow Builder on Trailhead so this video helps me cultivate better understanding on Flow Builder!
@salesforcegeek
@salesforcegeek 2 жыл бұрын
You're very welcome!
@justpriyankachaudhari
@justpriyankachaudhari 3 жыл бұрын
waited for so long for this scanario👍🙂
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Thanks for the Comment Priyanka!!
@thechoubeyjee
@thechoubeyjee 3 жыл бұрын
very much helpful. earlier I don't know about that fault join. Thank you so much.
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Glad to hear that and Thanks for the Comment :)
@karunatayal1622
@karunatayal1622 3 жыл бұрын
Great work Shubham ✌🙂
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Thank you 😃😊
@juanjohuiza
@juanjohuiza 3 жыл бұрын
Amazing Job! Thank you!
@salesforcegeek
@salesforcegeek 3 жыл бұрын
😀
@deepakkumawat3285
@deepakkumawat3285 3 жыл бұрын
Nice explanation....thanks!!
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Thanks Deepak 😊 for the Comment
@raxxel2830
@raxxel2830 3 жыл бұрын
thank you
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Anytime 🙂
@mounikamaddula8229
@mounikamaddula8229 3 жыл бұрын
What if there are many childs and if all childs risk count is less than 2 then only we have to update the parent ---in this scenario ,using get records can we get all risk calculation records with same account id and iterate through records and update the parent record .will it solve this case
@neeleshbhargav
@neeleshbhargav 3 жыл бұрын
Hi, Very Nice Video. In the scenario, you made 2 assumptions of when the record is updated and only one child. But if let's say the requirement changes to many child records. Do we have a way to achieve this scenario? One way I was thinking is in case of multiple child records there will be one primary risk meter record and then update the risk meter based on the primary risk meter values. Please let me know what you think? Thanks
@salesforcegeek
@salesforcegeek 3 жыл бұрын
for this scenario How you are going to hold multiple child records if this the case then this is possible that you are going to update on the basis of the latest created child record because Risk meter is dependent on child field values.
@neeleshbhargav
@neeleshbhargav 3 жыл бұрын
Yeah, you are right because here we are going from child to parent so there will always be one record which will be changed related to a account. Ignoring the bulk update scenario. Thanks for the reply..👍
@harshalpatil7752
@harshalpatil7752 3 жыл бұрын
Awesome !
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Thank you
@chithraprakash2271
@chithraprakash2271 3 жыл бұрын
Can you make video of how to get a pre release org and setup. Because when I got the new org , didnt see the ISCHANGED picklist value
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Did you signup for a new org from where you get the signup link?
@born2rideblonde
@born2rideblonde 2 жыл бұрын
I have tweaked and editted my flow 7 or 8 times and I can't seem to figure out what is wrong. I have a Project (parent item) and the related list of Project Activities (child items). I am trying to build a flow that when the Project Activity is named "Installation", I need it to update the "Project Manager" field on the Project to match the staff member that the installation activity is Assigned To. And I want it to do NOTHING when the installation activity has not been assigned. I can get it to "work", but what it does is it updates ALL of my records in my system to match the assigned to on the one I click edit on to test it, including projects that don't even have a Project Activity named Installation (some don't have ANY activities on them and its still updating that project manager field). So now ALL my projects say the project manager is one person, but the actual installation activities are still assigned correctly.
@sudheeranumolu9741
@sudheeranumolu9741 3 жыл бұрын
Thanks for the video, How we will cover Undelete scenario by using flow?
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Undelete is not an option yet
@sofiane130819841
@sofiane130819841 3 жыл бұрын
hi, tell me how we can update price-book product based on opportunity or based on opportunity product , merci bro
@davidlockebreaux8064
@davidlockebreaux8064 2 жыл бұрын
love your vids, thanks!! do you know of a way i can append text in a contact record with record triggered flow? i have a custom field called "category", and rather than change the text altogether (which is way my flow currently operates), i want to append, or add text to the field without removing what's already there. Thanks much!!
@rontrejos4454
@rontrejos4454 2 жыл бұрын
Hey David, you can create a flow with a single update element for that, use record prior and the field you already have populated and concat record after save append text field, use a flow formula, this example appends the industry name to a text field when the industry is Finance, and not null the text field, this will add the append every time industry is changed to any other value but Finance and then changed back to it thou... example flow formula used to update in the Account, the Tradestyle field (text255chrs) with the Industry(picklist std field) when the value of industry es Finance, and not null Tradestyle, you don't want to append to an empty field.... {!$Record__Prior.Tradestyle} &" - "& text({!$Record.Industry}) My end result is this: "this text goes before the appended industry - Finance", if you need a video of this, let me know, though it will be a, no more than one minute, vid... Cheerios!
@Harshal-vo3sr
@Harshal-vo3sr 3 жыл бұрын
Amazing explanation and knowledge.. Do you take classes for Salesforce Flow, I want to join and learn from the scratch.. I have a group of few people
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Hey Harshal Thank you please contact salesforcegeek2019@gmail.com
@Harshal-vo3sr
@Harshal-vo3sr 3 жыл бұрын
@@salesforcegeek Sure I will send you an email today
@Harshal-vo3sr
@Harshal-vo3sr 3 жыл бұрын
@@salesforcegeek Sent you an email
@do_it7857
@do_it7857 2 жыл бұрын
sir..How to send the email alert create a new record of an account and also sending the email with related list of contacts then sir how its to do...?
@salesforcegeek
@salesforcegeek 2 жыл бұрын
Just fetch all the email ids in a collection variable of the related contacts and use that collection variable in send email 📧 action
@samiazam7140
@samiazam7140 3 жыл бұрын
Is it bulkfied code, we use to 'Get Records' first and then having a loop on them to traverse each and then adding them into collection and update the collection once. Is your code hanldes the bulkification? Also, got the limitation of not using the priorValue of currentItem in loop becoz it shows only 'Record_Prior'. Let me know your thoughts on that.Thanks
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Isn’t the same we follow in the apex while creating a list and add records to it then update it once Record_Prior is the place where you find the old values of the record.
@truptichaudhary9307
@truptichaudhary9307 2 жыл бұрын
# not updated any record .. the reqd. condition is met check box is not visible in my lappy what can i do
@salesforcegeek
@salesforcegeek 2 жыл бұрын
Please share you issue to salesforcegeek2019@gmail.com
@ravikant2878
@ravikant2878 3 жыл бұрын
Hi Shubham - Wanted to know how can we choose a record triggered flow which runs on both Record created and record delete? As we dont have a single option combining these two events.
@salesforcegeek
@salesforcegeek 3 жыл бұрын
We need to create 2 separate flows for that Ravi.. Checkout this flow Rollup Trigger via Salesforce Record Triggered Flow - Trigger without code | kzbin.info/www/bejne/aKrCopKpasmibZo
@ravikant2878
@ravikant2878 3 жыл бұрын
@@salesforcegeek Thaankyou
@taruna5688
@taruna5688 3 жыл бұрын
Can you make videos on trigger and batches also
@salesforcegeek
@salesforcegeek 3 жыл бұрын
Noted thank you for the suggestion
@satyaEk
@satyaEk 3 жыл бұрын
Can we do this with if else condition in formula field?
@salesforcegeek
@salesforcegeek 3 жыл бұрын
But how you can update the parent field?
@satyaEk
@satyaEk 3 жыл бұрын
Oh yes, that we can't do using formula
@salesforcegeek
@salesforcegeek 3 жыл бұрын
🤞🤙
@eiyuluca3072
@eiyuluca3072 3 жыл бұрын
Hi, I was wondering if instead creating 3 times an update record, would it not also be possible to create 3 assignments after the decision element and then create 1 update record? (or can't you access then the related account?) What would be the best practise considering limits etc..?
@salesforcegeek
@salesforcegeek 3 жыл бұрын
But these are the 3 Conditions only 1 condition is possible at 1 time isn't? like if you noticed the assumption by the subscriber that there is only 1 child record so this will not harm in terms of limitations because only 1 update element going to work per record And Yeah your view is absolutely correct on this with best practice I should use an assignment and a record variable of type Account and then update it in the Single Update record element. Thank you for the comment will do in the next videos.
@minnimouse2349
@minnimouse2349 3 жыл бұрын
Hi Shubham, I have a custom object called Employee__c Created checkbox field called Is_Active_User? on Employee__c every Employee__c member has user account (matching with Email field) what I want is -->If the user account is Active (active checkbox checked on user) Is_Active_User? Checkbox to be checked automatically on Employee__c If the user account is inactive/deactivated (active checkbox unchecked on user) Is_Active_User? Checkbox to be unchecked automatically on Employee__c this should be done when user is created and updated to meet that criteria. How can i achieve this? any steps would be apricated. I failed to do with process builder and flow builder. Thanks Meera
How to Update related records using Salesforce Flow
19:19
Salesforce Geek
Рет қаралды 41 М.
【Flow】|【Practice】| Update Parent From A Collection of Child Records
14:54
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
How to use formula in Salesforce Flow | Salesforce Record Triggered Flow
22:16
Learn Flows with Real Time Scenarios
52:41
Salesforce Exclusive
Рет қаралды 183 М.
Transform Element in Salesforce Flow | Salesforce Geek
20:51
Salesforce Geek
Рет қаралды 1,6 М.