Salesforce Interview Question
PART - 1 : 1.If you want to write a workflow for a record in which age should be greater than 18 and it should be a new record. The workflow should not fire for old records. How will you achieve this? Answer: It can be achieved through using IsNew() method and age>18 condition in Workflow. 2. What is External id and primary id? Answer: External id is unique to the external application. Primary id is unique to the internal organization. 3.What are the different types of Cloud in SF? Answer: Sales cloud Service Cloud 5.What happens in the backend when you save the record? (execution sequence in terms of trigger and flows) 6.Limitation of Process Builder? 7.What is the difference between process builder and workflow? 8.Write a trigger and update account fields numofoppclosedwon when the opportunity stage is closed won? how many opportunities are closed won in this account? 9.What is @testsetup method? how to use in the test method? 10.Triggers and considerations? 11.Static and Instanc...