Step -1
1. What allows Flows to manipulate complex data types that are often returned from calls to web services?
Ans. Apex-defined data types
2. What is the benefit of using the Continuation class in Apex to make a long-running request to an external web service?
Ans. More long-running callouts can be made using continuations
3. Which Lightning web component configuration file tag set specifies the form factors that the component supports?Ans. <supportedFormFactors>
4. Which tag adds the Lightning Web Components for Visualforce JavaScript library to a Visualforce page?Ans. <apex:includeLightning/>
Step- 2
7. Modify Batch class(first line):
public with sharing class BatchLeadConvert implements Database.Batchable<SObject>, Database.RaisesPlatformEvents{\
.........
}
8.Create below Trigger from developer console:
trigger BatchApexErrorTrigger on BatchApexErrorEvent (after insert) {
list<BatchLeadConvertErrors__c> bcr= new List<BatchLeadConvertErrors__c>();
for(BatchApexErrorEvent event: trigger.new){
BatchLeadConvertErrors__c evrterror= new BatchLeadConvertErrors__c ();
evrterror.AsyncApexJobId__c= event.AsyncApexJobId;
evrterror.Records__c=event.JobScope;
evrterror.StackTrace__c=event.StackTrace;
bcr.add(evrterror);
}
if(bcr.size()>0){
insert bcr;
}
}
1. What allows Flows to manipulate complex data types that are often returned from calls to web services?
Ans. Apex-defined data types
2. What is the benefit of using the Continuation class in Apex to make a long-running request to an external web service?
Ans. More long-running callouts can be made using continuations
3. Which Lightning web component configuration file tag set specifies the form factors that the component supports?Ans. <supportedFormFactors>
4. Which tag adds the Lightning Web Components for Visualforce JavaScript library to a Visualforce page?Ans. <apex:includeLightning/>
Step- 2
- In Chrome, open an incognito browser window.
- Select and copy this link: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4P000002EMv0
- In the incognito window, paste the link into the address bar to install the package.
- On the Salesforce login screen that appears, enter the username and password for your Trailhead Playground, then click Log In.
- Select Install for All Users, then click Install.
- Once the installation is complete, click Done.
7. Modify Batch class(first line):
public with sharing class BatchLeadConvert implements Database.Batchable<SObject>, Database.RaisesPlatformEvents{\
.........
}
8.Create below Trigger from developer console:
trigger BatchApexErrorTrigger on BatchApexErrorEvent (after insert) {
list<BatchLeadConvertErrors__c> bcr= new List<BatchLeadConvertErrors__c>();
for(BatchApexErrorEvent event: trigger.new){
BatchLeadConvertErrors__c evrterror= new BatchLeadConvertErrors__c ();
evrterror.AsyncApexJobId__c= event.AsyncApexJobId;
evrterror.Records__c=event.JobScope;
evrterror.StackTrace__c=event.StackTrace;
bcr.add(evrterror);
}
if(bcr.size()>0){
insert bcr;
}
}
If you use IBM Certification Exam Answers study material for exam, you will pass the exam for sure!
ReplyDeleteIBM Certification
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteI appreciate how the study material focuses on key areas that are often emphasized in CCFA-200 Dumps.
ReplyDelete