Пікірлер
@tharanir4455
@tharanir4455 12 сағат бұрын
Hi, Perfect video for learning Trigger. Thank you so much Himanshu 😊. You are great👍
@salesforcemakessense
@salesforcemakessense 6 сағат бұрын
@@tharanir4455 🙏😇
@naveensai2175
@naveensai2175 20 сағат бұрын
Hi Sir ,Is it possible to call Batch from a future call?
@salesforcemakessense
@salesforcemakessense 17 сағат бұрын
@@naveensai2175 No Naveen, thats not possible.
@naveensai2175
@naveensai2175 15 сағат бұрын
@@salesforcemakessense Thank you Sir
@santhikumari4474
@santhikumari4474 Күн бұрын
In after delete scenario the record is actually deleted from the system, then how can the system has access to trigger.OldMap?
@salesforcemakessense
@salesforcemakessense 21 сағат бұрын
So, after a record is deleted, there's nothing "new" added to the database right, it is removed basically. It will be available in old. You can think like this, it will help you remember for after delete, oldMap is available.
@shridharkatkati3113
@shridharkatkati3113 Күн бұрын
I suppose this will not work when inserting contacts in bulk, as trigger executes in batches. How will you know the number of contacts tagged to an account when, in bulk insert operation there might be multiple contacts with same account id which might exeed the max_contacts_allowed__c value on account object.
@salesforcemakessense
@salesforcemakessense 21 сағат бұрын
Hi, this use case will obviously be credible for scenarios within limits. In any case there is a chance child records or number of records go beyond expectations/limits, it is recommended to go via Batch apex.
@srikanthj1028
@srikanthj1028 Күн бұрын
Screen Flow: KZfaq comments are an example of screen flow. Record Trigger: After I subscribed to your channel and enabled the bell icon, when you upload a new video, it will notify me. This is an example of a record trigger flow. Schedule Trigger: When I download your video, it will be available for 1 week or 1 month, after which it will be automatically deleted.
@salesforcemakessense
@salesforcemakessense Күн бұрын
Amazing examples through live use cases :)
@srikanthj1028
@srikanthj1028 Күн бұрын
@@salesforcemakessense Thankyou Himanshu 😊
@MdSiddiqueAhmed-p2x
@MdSiddiqueAhmed-p2x Күн бұрын
Hi Himanshu. Is this playlist stored in drive or somewhere where it can be downloaded. Amazing stuff and learn looks easy when you teach
@salesforcemakessense
@salesforcemakessense Күн бұрын
Hey, it is getting recorded and uploaded on regular basis and is not pre recorded currently :) Thank you
@salesforcemakessense
@salesforcemakessense Күн бұрын
You can view the entire playlist which has all the videos on KZfaq.
@rajeshganne8359
@rajeshganne8359 2 күн бұрын
Screen Flow- Candidates to input the details for interview Record Flow- After submitting the personal details then education details record to show up Scheduled Trigger Flow - candidates need to get a remainder about the interview everyday till interview is completed
@salesforcemakessense
@salesforcemakessense 2 күн бұрын
Can you add more to the Record Flow? How would it be used?
@rajeshganne8359
@rajeshganne8359 2 күн бұрын
@@salesforcemakessense means after submitting the personal details section then only the education section can be enabled if not no. Based on the status field reached to submitted then 2nd record(education ) will enable
@salesforcemakessense
@salesforcemakessense Күн бұрын
@@rajeshganne8359 by enable you mean will be created right? Yes then record triggered flow can be used, correct!
@rajeshganne8359
@rajeshganne8359 Күн бұрын
@@salesforcemakessense yes we need to create
@salesforcemakessense
@salesforcemakessense Күн бұрын
@@rajeshganne8359 yep!
@MdSiddiqueAhmed-p2x
@MdSiddiqueAhmed-p2x 2 күн бұрын
Thanks Himanshu for explaining clearly. I have one question whydid we not use oldMap for this approach ?
@salesforcemakessense
@salesforcemakessense 2 күн бұрын
Instead of trigger.old, trigger.oldMap can be used wherever necessary and to avoid nesting. No hard and fast rule Ahmed, give it a try.
@pavanplanati1859
@pavanplanati1859 3 күн бұрын
Thankss
@salesforcemakessense
@salesforcemakessense 3 күн бұрын
@@pavanplanati1859 🙏😇
@marsmelon-c9f
@marsmelon-c9f 3 күн бұрын
A thank you is not enough but Thank you Himanshu for your cristal clear and simple way of putting things.
@salesforcemakessense
@salesforcemakessense 3 күн бұрын
@@marsmelon-c9f a thank you is enough 😁glad to know the content is easy to refer and understand.
@krishnavamsivamsi4308
@krishnavamsivamsi4308 3 күн бұрын
I am able to do this.
@salesforcemakessense
@salesforcemakessense 3 күн бұрын
Awesome :)
@prathibam8374
@prathibam8374 3 күн бұрын
Will refer my friends to this channel
@salesforcemakessense
@salesforcemakessense 3 күн бұрын
Thank you :)
@harijami2922
@harijami2922 4 күн бұрын
Hi Himanshu, i wrote code with my understanding, they way writing this code is it good practice or need do change anything, can you please check public static void allowUpdation(list<Task> listTask){ set<id> taskList = new set<id>(); for(Task t : listTask) { if(t.WhoId != null && t.WhoId.getSobjectType() == Contact.SobjectType) { taskList.add(t.WhoId); } } map<id,Contact> conAccMapp = new map<id,Contact>([select id , AccountId, Account.id, Account.Task_Permission__c from Contact where ID in : taskList ]); for(Task t : listTask ){ contact c = conAccMapp.get(t.WhoId); if(c.Account.Task_Permission__c == false ){ t.addError('Task_Permission__c check box unchecked'); } } }
@bhanuprakash9808
@bhanuprakash9808 4 күн бұрын
TRUE AND TRUE - TRUE TRUE AND FALSE - FALSE FALSE AND TRUE - FALSE FALSE AND FALSE - FALSE TRUE OR TRUE - TRUE TRUE OR FALSE - TRUE FALSE OR TRUE - TRUE FALSE OR FALSE - FALSE TRUE AND NOT (TRUE) - FALSE FALSE OR NOT (FALSE) - TRUE FALSE OR (TRUE AND FALSE) - FALSE TRUE AND (TRUE OR FALSE OR NOT (TRUE) ) AND (FALSE OR TRUE) - TRUE
@salesforcemakessense
@salesforcemakessense 4 күн бұрын
@@bhanuprakash9808perfect!
@ganeshthigari5470
@ganeshthigari5470 4 күн бұрын
Thank you so much for uploading the videos
@salesforcemakessense
@salesforcemakessense 4 күн бұрын
@@ganeshthigari5470 😇
@bhanuprakash9808
@bhanuprakash9808 4 күн бұрын
public static void handleCustomer InteractionsInSwitchCase(String typeOfCustomer, Integer purchaseAmount, Boolean isNewCustomer, Boolean requestRefund){ switch on purchaseAmount{ when 1{ system. debug ('Congratulations your purchase is successful'); } } switch on typefCustomer{ when 'premium' { system. debug ('Thank you for your purchase, Here is your coupon: salesforceMakesSense for a 10% off'); switch on isNewCustomer { when true{ system. debug( 'Thank you for your signing up, Here is your Bonus:WELCOMECOUPON for a 5% off'); } } } Hello sir, I did try to implement handle CustomerInteractionsInSwitchCase but I am not sure how to use greater than symbol in switch cases & how to use Boolean switch expression type?! When you get time could you please look into this and help me with this issue. Looking forward to hearing from you. Thank you sir. 🙏
@vikramann5500
@vikramann5500 5 күн бұрын
Can You Explain me How to Recover Deleted Object ?
@user-fh5np1lu3v
@user-fh5np1lu3v 5 күн бұрын
Hi! This was such a good explanation! Thank you for your video. However, just a small question. The GET record element in flow is bound by the 50,000 record limit, right? So, having more than 50,000 records in my GET query will throw an error. However, if we have the entry object in the Scheduled flow and define the criteria, it will auto bulkify it so that if there are more than 50,000 records (upto 250,000 as per SF documentation) for which we would want to run the flow against, it is possible. Do you have any info in such type of scenario, please!. Thanks!
@salesforcemakessense
@salesforcemakessense 5 күн бұрын
Yes, what flow does is chunks the execution in batches (automatically), which means you should be able to update more records. I will check the documentation and share for the exact limits and considerations.
@SachinM1985
@SachinM1985 5 күн бұрын
great use cases, thank you for you efforts sir.
@salesforcemakessense
@salesforcemakessense 5 күн бұрын
:)
@oscarvasquez7029
@oscarvasquez7029 5 күн бұрын
Hello sir, Hope you’re doing well. I’d like to thank you n bow down to u 🙇‍♂️ for taking time out to give back your knowledge to community in this selfish world. Just by this you-tube platform your changing our lives and make us a part of the Salesforce ecosystem. 🫂🙇‍♂️🙏
@salesforcemakessense
@salesforcemakessense 5 күн бұрын
Hi Oscar, that's really kind of you to say that. SO happy to hear the content is helping :)
@maheshbabu9909
@maheshbabu9909 6 күн бұрын
Bro you are doing very great.. I am following whoever needs to be expert in apex..i recommend only this channel
@salesforcemakessense
@salesforcemakessense 5 күн бұрын
Thank you Mahesh, so good to hear that :)
@ganeshthigari5470
@ganeshthigari5470 6 күн бұрын
Thank you sir
@ganeshthigari5470
@ganeshthigari5470 6 күн бұрын
Thank you sir
@salesforcemakessense
@salesforcemakessense 5 күн бұрын
@SachinM1985
@SachinM1985 6 күн бұрын
Thank you sir
@user-km3eq1ct3c
@user-km3eq1ct3c 6 күн бұрын
Very Useful session.
@salesforcemakessense
@salesforcemakessense 6 күн бұрын
Glad to know :)
@naveensai2175
@naveensai2175 7 күн бұрын
I have another solution , Could plz check it. public static List<String> getContactEmailsOfAccount(String accName) { List<String> emailList = new List<String>(); List<Account> accList= [select Name,(select Email from contacts) from Account where Name =:accName]; if(accList[0].contacts.size()>0){ for(Contact con : accList[0].contacts){ if(con.Email!=null) emailList.add(con.Email); } } System.debug('Emails '+emailList); return emailList; }
@marsmelon-c9f
@marsmelon-c9f 7 күн бұрын
Even i want to read books but the problem is i need to refer dictionary the same amount as i do for reading😄
@Ankitkumar-ro6fl
@Ankitkumar-ro6fl 7 күн бұрын
even we dont requre set of accounids.we can fulfill need of accountid by map values. am i right?
@salesforcemakessense
@salesforcemakessense 7 күн бұрын
@@Ankitkumar-ro6fl yes absolutely!
@lukkypadmavathi3782
@lukkypadmavathi3782 7 күн бұрын
Nice Explanation sir, I have a question..can flows handle undelete events?
@shubhampatil9431
@shubhampatil9431 7 күн бұрын
hi,because of you i understand this email sending process how it works and how we can write the code for email sending....thank you
@ganeshthigari5470
@ganeshthigari5470 7 күн бұрын
Thank you so much sir
@salesforcemakessense
@salesforcemakessense 7 күн бұрын
Welcome :)
@naveensai2175
@naveensai2175 8 күн бұрын
Database.saveResult make sense😊
@salesforcemakessense
@salesforcemakessense 8 күн бұрын
@@naveensai2175 superb 👌
@ArunKumar-9945
@ArunKumar-9945 9 күн бұрын
Hii Himanshu Today Apex Use Case 1 is Good to start we have 30 Apex Use Cases you sad . If you post every day it takes around 30 days 1 month better to post single day 5 Apex Use cases it will helpful
@salesforcemakessense
@salesforcemakessense 8 күн бұрын
@@ArunKumar-9945 hi Arun, I am actually recording, editing and uploading. So if I upload 5 a day, I wont get time to sleep haha Which is why 1-2 a day Hope you understand 🙂
@ArunKumar-9945
@ArunKumar-9945 8 күн бұрын
​​@@salesforcemakessense Okk Himanshu I think that you have completed the Apex use Cases 30 Scenarios that why I asked 👍
@salesforcemakessense
@salesforcemakessense 8 күн бұрын
@@ArunKumar-9945 i wish it was completed so fast 🫢
@ArunKumar-9945
@ArunKumar-9945 9 күн бұрын
Database Make Sense😍🥰
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@ArunKumar-9945 yay! 🥳
@Dudez_gaming
@Dudez_gaming 9 күн бұрын
When you’re going to start LWC?
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@Dudez_gaming hi currently we are doing apex and this will take time. I will suggest you search some tutorials on lwc instead of waiting as this will take some time 🙂 and I can start lwc only after apex is done & dusted
@Sharma-mb8ow
@Sharma-mb8ow 9 күн бұрын
Seriously Thanks I finally get it 🙏
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@Sharma-mb8ow 😄
@riteshtiwari1446
@riteshtiwari1446 9 күн бұрын
Hi Himanshu i have one issue stuck I create opportunity record, once I click on record it does not open. How to troubleshoot this issue?
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@riteshtiwari1446 is it a normal standard link you are clicking on the list view or somewhere else like a formula reference?
@riteshtiwari1446
@riteshtiwari1446 9 күн бұрын
@@salesforcemakessense I am clicking opportunity record which I have created.
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@riteshtiwari1446 could be some browser issue. Can you try another browser once and see if it works?
@riteshtiwari1446
@riteshtiwari1446 9 күн бұрын
@@salesforcemakessense I try not working as expected
@SachinM1985
@SachinM1985 9 күн бұрын
Database.saveResult make sense,as always 🙏
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@SachinM1985 thats awesome 🤩
@harijami2922
@harijami2922 9 күн бұрын
Hi bro, instead of writing so many maps we can write this way public static void oppParentAccountOwnear(list<Opportunity> oldList){ set<id> oppId = new set<id>(); list<Task> newTask = new list<Task>(); for(Opportunity op : oldList ){ oppId.add(op.AccountId); } map<id,Account> acc = new map<id,Account>([SELECT Id, OwnerId FROM Account where id IN : oppId ]) ; for( Opportunity op : oldList){ Task t = new Task(); t.OwnerId = acc.get(op.AccountId).OwnerId; t.Status = 'In Progress'; t.Priority = 'High'; t.Subject = 'Call'; T.Description = 'SAO'; newTask.add(t); } if(!newTask.isEmpty()){ try { insert newTask; } catch(DmlException e ){ system.debug('error' + e.getMessage()); } } }
@thesalesforceseeker
@thesalesforceseeker 9 күн бұрын
Bro please cover schema methods dynamic apex and crypto class for jwt
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@thesalesforceseeker sure my friend, will do as part of this curriculum! Thanks
@amit_paple
@amit_paple 10 күн бұрын
One of the best tutorial i have found till now on KZfaq on salesforce APEX concept. Thanks a lot Himanshu 😄🙏
@salesforcemakessense
@salesforcemakessense 9 күн бұрын
@@amit_paple thank you Amit, so good to hear this 😄
@juhibirari5293
@juhibirari5293 10 күн бұрын
How does the query knows to delete stagename having value proposition as you queried StageName= : stagename
@salesforcemakessense
@salesforcemakessense 10 күн бұрын
@@juhibirari5293 whatever value is passed to the method is stored in the variable and we are using the same variable in the soql query. So when we debug or run it, we are passing the actual stagename and thats how it pocks it and maps it and queries it
@marsmelon-c9f
@marsmelon-c9f 10 күн бұрын
Clear Picture sir
@salesforcemakessense
@salesforcemakessense 10 күн бұрын
@@marsmelon-c9f awesome!
@Dudez_gaming
@Dudez_gaming 10 күн бұрын
Next topic?
@salesforcemakessense
@salesforcemakessense 10 күн бұрын
You will know in tomorrow's video :)
@Dudez_gaming
@Dudez_gaming 10 күн бұрын
@@salesforcemakessenseplease upload videos regularly 😊
@salesforcemakessense
@salesforcemakessense 10 күн бұрын
@@Dudez_gaming trying my best 🙂
@ganeshthigari5470
@ganeshthigari5470 10 күн бұрын
Thank you so much sir
@salesforcemakessense
@salesforcemakessense 10 күн бұрын
:)
@varalakshmithirupathi8352
@varalakshmithirupathi8352 10 күн бұрын
when we expect Test cases videos
@salesforcemakessense
@salesforcemakessense 7 күн бұрын
Do you mean Test Classes? Very soon. Mostly after the Use Cases, Test Classes explainers will come up.
@ganeshthigari5470
@ganeshthigari5470 11 күн бұрын
Thank you
@salesforcemakessense
@salesforcemakessense 7 күн бұрын
Ganesh bhai, need not write thank you in every video, happy learning :) cheers.
@ganeshthigari5470
@ganeshthigari5470 11 күн бұрын
Thank you so much sir
@salesforcemakessense
@salesforcemakessense 11 күн бұрын
@@ganeshthigari5470 🙏
@varalakshmithirupathi8352
@varalakshmithirupathi8352 11 күн бұрын
please make test cases videos bro
@salesforcemakessense
@salesforcemakessense 11 күн бұрын
@@varalakshmithirupathi8352 yes will be uploaded as part of this curriculum later. Stay tuned and continue your learning journey with this playlist 🙂