@@vigneshraja8408 omni channel, record trigger flows, email to lead, web to lead, digital experience ( communities) , object creations, approval process, formula fields, validation rules and basic admin stuff
1. This occurs because the order of execution in Salesforce has the validation rule fire before the assignment rule. The validation rule checks the current owner (before assignment rule changes it), so no error is thrown. Conclusion: The owner will be changed to a queue successfully without any validation rule error. 2. approval steps in an approval process is 30.
Trigger myCaseTrigger on Case (After Update) { List<Id> accId = new List<Id>(); List<Task> taskList = new List<Task>(); for(Case c : Trigger.new){ Case cOld = Trigger.oldMap.get(c.Id); if(c.Escalation__c != cOld.Escalation__c && c.Escalation__c){ accId.add(c.AccountId); } } for(Contact con : [Select Id, Name from Contact where AccountId In : accId AND Primary__c = True]){ Task t = new Task(); t.Subject = con.Name; t.WhoId = con.Id; taskList.add(t); } if(taskList.size() > 0){ insert taskList; } }
Why can't we use an SQL statement using where clause to get the contact of a particular ID? let's say the SQL statement is [select id, Name from Contact where id = '0035j000xxx'] and the output will still be the same right?
That was a great explanantion , i want to know when we pass parameters from LWC to apex we will be using "$" right ? , why didnt u used that and the paameter got passed as well
If the parameter that you pass is going to reactive variable and will change at run time, so to get the most updated data we use $ . On the other hand if our parameter does not changes at run time or thats where you dont need $
Honestly i am. Not sure abt datatype but i have seen using type but again in real world, when we are not sure what data we will get from external system or else what we are going to return from our methods thats where i have used wrapper classrs
Excellent way of explaining the Integration. I am finally able to understand each & every bit of it. SUPERB WORK!! Keep creating such videos & spread SF wisdom :)
I have a question when the interviewer asked us the trigger or some code where we gona write the code is it on the developer console or in the notepad I am a fresher
@@ashishgupta5209 always on notepad because you might make syntax mistakrs which you can always cover by saying, as i am writing in notepad there can be some sytax errors and those are accepted as well
Hey nice video, but can you give some real examples like where can we use connected call back and other hooks because i know the concepts clearly but i dont know how to use them or apply them in a scenario
we found a geek for LWCs in you, awesome explanation, better get a drawing tablet with a pen so that the images you draw are impressive with good handwriting
Sorry your diagram in first question got me off guard ...the way you diagrammed it , it felt like form exists outside the Salesforce. If it is LWC form , shouldn't it exists within that salesforce cloud ? Also for your 2nd question ....couldn't you hide the submit button using elseif in LWC rather than doing that in Apex ?
1) i just wanted to show the diagram, how it will look when we submit the form hence i drew it outside Salesforce database, so it was just representation and nothing else 2) for question 2 if your current user is not the one specifed in metadata, then why do you want to run the code itself, in your case you will bring whole data and then write if else instead my thinking was bring only data which is nesscary
Lets consider a scenario, where we have a lwc component and this lwc components shows the accounts. Now if you want that accounts from this lwc component must be visible by considering the sharing ( an example is that account that are owned by you must only be visible because owd is private) in that case we need to providd with sharing keyword. But if we wanna show the records irrespeictibe of sharing then go with without sharing
1. Enable Debug Logging First, ensure that debug logging is enabled for the user executing the flow. 2. Assign the Debug Level to a Trace Flag Go to Setup. In the Quick Find box, type "Debug Logs" and select Debug Logs. Click New. Select the User to monitor. Set the Debug Level (more on this in the next steps).-->Here we can create new Debug Level(Set the Apex Code and Workflow levels to FINEST. ) Choose the debug level you just created. Set the start and expiration date/time for the logging. 4. Execute the Flow Run the flow that you want to debug. The system will generate logs for all actions taken during the flow's execution, including any exceptions. 5. View the Debug Logs Go to Setup. In the Quick Find box, type "Debug Logs" and select Debug Logs. Find the log entry created during the flow execution. Click View to see the log details. Debugging Flow Exceptions In the debug log, look for entries related to FLOW and FLOW_ELEMENT_ERROR. These entries provide information about the flow's execution and any errors encountered.
It's very informative but I have one qn...For one of the lwc question to get only specific data from external system, since you are using future method in apex, how can you return the response and send to lwc again? Because future can't return anything right?
Bro I have a doubt. Once we deploy our component to the org. The template tag is replaced by component name tag (eg: <c-my-component>). We are accessing the elements in components html file by this.template.querySelector() in the js file. Now, how will the browser understand the template tag as it got replaced by the component name tag.
भाई तेरे सब इंटरव्यू अच्छे जाते है और तुझे अच्छा खासा नॉलेज भी है फिर भी कोई कंपनी सिलेक्ट क्यों नही करती तुझे. या फिर ये सारे Q तेरे मन से बनाए है। प्लीज आपका जेन्यून A बताना।
@@rjkipakp ye sab companies me, select ho chuka hu, aur isse bhi zyada offers he abhi mere pass me, man se nai banata hu ye sab mujhe puche jate he, interview ke vakth me record karta hu mobile me aur fir wahi use karke wapas aapko batata hu. Filhal mere pass 6 offers he aur kuch offers ki baate chal rahi he aur ayenge lekin aapko knowledge deta rahunga taaki aapko pattern pata rahe ☺
Thanks , glad you liked my video, actually regarding integration i will be conduting a master class where i might teach from very basic to a good level of integrarion & if needed you can watch others as well as mine youtube videos for integration but honestly im not sure which course will be good on udemy for intrgration ☺
No bro we need to define cloumns at the top as they are constants and const are ususally kept outside the export as they are always going to be constant
@@namanshetty2781 trigger exectues immediately but the callouts are made or we get the response of callout after some time hence we use it, also to make callout u need to use future with callout = true or database.allowcallouts
@@salesforcein5minutes Thanks for the clarification. But what if the response takes more than 60 seconds, let's say 180 seconds which is exceeding the CPU time of asynchronous Apex i.e 60 seconds also exceeds maximum time to get a callout response i.e. 120sec?
Record type can not be directly deleted. Suppose account object so we go to record type: open that record type : first we need to ACTIVE uncheck checkbox . then we can delete. If this record type is default for any profile then we have to go to standard user, under record type setting, go to standard record type setting -- Edit - remove default record type from here. Again uncheck the active checkbox and then delete.