ApexSchedulable , execute, for(Id oldId : oldIdCases){ if(vehicleToEquipmentMap.get(MRRecord.Vehicle__c)!=null){ addDays+=daysToAdd; insert emptyReq; Equipment_Maintenance_Item__c workP = createWorkPart(equipmentId, emptyReq.Id); }, Challenge 2 : Synchronize Salesforce data with an external system for(Case newCase : [SELECT Id, Comments, Vehicle__c, Status FROM Case WHERE Subject LIKE DummyOK%]){ newCase.Vehicle__c=vehicleId; MaintenanceRequestHelper.updateWorkOrders(); b. vehicleToEquipmentMap.put(MRRecord.Vehicle__c,EquipmentIDListUpdate); GitHub - minicruiser/Apex-Specialist-Superbadge newCase.Date_Due__c=newDate; private static void linkEquipmentsToNewCases( How can I find out which sectors are used by files on NTFS? This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. The followings are the challenges to earn this badge: Automate record creation using Apex triggers. Do I need to do some prep work. I've successfully create a . }. } Use above code for step 5 and then use system assert with constant 0 and returned value will be 0. https://developer.salesforce.com/docs/atlas.ja-jp.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_apexgov.htm, 3-8SOQLforTrigger.new100Trigger.new200(200200), for200 newEquipment.Maintenance_Cycle__c = 10; maintenanceCycle=EMIRecord.Equipment__r.Maintenance_Cycle__c; if(MRRecord.Vehicle__c==EMIRecord.Maintenance_Request__r.Vehicle__c){ newMRRecord.Date_Reported__c=date.today(); Set Up Development Org | Apex Specialist - YouTube Method does not exist or incorrect signature: void CreateData(Integer, Integer, Integer, String) from the type MaintenanceRequestHelper. Its a pretty long post that i wrote quiet long time back. To learn more, see our tips on writing great answers. Challenge 4: both negative and bulk run successfully but not positive test case. } System.schedule , JobIdJobIDCronTriggerJob Id oldCaseId = item.Maintenance_Request__c; Hey pratap! @future(callout=true)public static void runWarehouseEquipmentSync(){, if(response.getStatusCode()==200){//System.debug(size of equipment +equipmentlist.size());List updateEquipmentlist=getProductlist(response);if(updateEquipmentlist.size() > 0){insert new List(updateEquipmentlist);}}}, public static List getProductlist(HttpResponse response){, List