Apex specialist superbadge challenge 4. I had posted these at the time i completed them. Apex Code Development (89731) General Development (54672) Visualforce Development (37117) Lightning (17463) APIs and Integration (16704) Trailhead (11575) Formulas & Validation Rules Discussion (11140) Other Salesforce Applications (7994) . Paste it below to help someone else looking. } Home. +2,000 points ~1 hr App Customization Specialist Superbadge In that case the post hasnt been updated that much recently. Date newDate = Date.today(); if(result.get(oneCase.Id)!=null) { Are you sure you want to create this branch? Concepts tested in this superbadge include: Apex Triggers . i wanted to excel myself in healthcloud domain of salesforce as i have started badges of that domain on trailhead for(Equipment_Maintenance_Item__c item: lista){ Reddit and its partners use cookies and similar technologies to provide you with a better experience. List emiListToNewCase = new List(); private static final string REPAIR = Repair; newEquipment.Replacement_Part__c = true; public static Case buildCase(Id vehicleId, String typeCase, String subjectCase){ result.put((Id)res.get(cID),addDays); I am unaware of any changes. @istest Superbadge Process Automation Specialist Full Solutions. Also various YouTube videos and blogs exist. https://salesforce.stackexchange.com/questions/336871/apex-specialist-challenge-1-productid-null/341363#341363. Apex Specialist is one of the superbadges of Salesforce trailhead(A New Approach to Learning Salesforce). mapCases.put(oldCaseId,new List()); } For that, I would suggest the following udemy course: Salesforce Development Course. Getting so many queries on this one I will surely try prioritize. private static void testMaintenanceRequestNegative(){ lifespan_months__C = 10, insert vehicle; return result; id vehicleId = vehicle.Id; Product2 equipment = createEq(); Use the included package content to . newRoutineMaintenanceVehicleRecordIDList.add(MRRecord.Vehicle__c); I will try and review that shortly and update the required. insert requestList; for(integer i = 0; i < 300; i++){ Start a discussion in the forum to get straight-up answers. Hope this helps. Its a pretty long post that i wrote quiet long time back. private static final string REQUEST_ORIGIN = Web; Copyright 2000-2022 Salesforce, Inc. All rights reserved. Account acc = new Account(); product2 equipment = new product2(name = SuperEquipment, Would have to get back to you. https://takesurveyguide.com/safeway-customer-survey/. If you don't get the complete picture of super badge, you can jot down the requirements and connect them(like a process flow diagram). new List(); for(Case caseInList: caseList){ Trailmixes. salesforcedx-cli vs-code trailhead sfdx-plugin superbadges Chuck 805 asked Jan 22, 2021 at 0:05 6 votes 2 answers 5k views I find it really difficult to do anything on my own. sign in Could you please point out the specific line of the code where the function has been used for me to check and get back to you more quickly. Find centralized, trusted content and collaborate around the technologies you use most. Thanks again for pointing it out. Connect and share knowledge within a single location that is structured and easy to search. newCase.Vehicle__c = c.Vehicle__c; newEMIRecordList.add(newEMIRecord); . } Start a discussion in the forum to get straight-up answers. insert newMRRecordList; Here I have no idea what the input is nor what the output is supposed to be. https://developer.salesforce.com/docs/atlas.ja-jp.apexcode.meta/apexcode/apex_scheduler.htm, ApexGUISchedulable Apex, [] [] [Apex] Apex , GUISalesforce Did any DOS compatibility layers exist for any UNIX-like systems before DOS started to become outmoded? Laendor code is not working. ChangethelabelsforStandard Objectsand Fields in SalesforceGo to Setup -> Customize -> Tab Names andLabels->RenameTabs andLabels. insert newItems; List EMIList = new List([SELECT Maintenance_Request__c,Maintenance_Request__r.Vehicle__c,Equipment__c, Equipment__r.Maintenance_Cycle__c,Quantity__c FROM Equipment_Maintenance_Item__c WHERE Maintenance_Request__r.Vehicle__c IN: newRoutineMaintenanceVehicleRecordIDList]); system.debug(EMIList +EMIList); list workPartList = new list(); CronTrigger a=[SELECT Id FROM CronTrigger where NextFireTime > today]; System.assertEquals(jobID, a.Id,Schedule ); Originally published at https://shivshankarsfdc.com on July 29, 2019. trailhead.salesforce.com/en/content/learn/superbadges/superbadge_apex, Salesforce Trailhead Superbadge 'Apex Specialist', Synchronize Salesforce data with an external system using, Test automation logic to confirm Apex trigger side effects, Test scheduling logic to confirm action gets. for(Equipment_Maintenance_Item__c emi : emiList){ if(MRRecord.Vehicle__c==EMIRecord.Maintenance_Request__r.Vehicle__c){ What video game is Charlie playing in Poker Face S01E07? Test callout logic // This object is available in API version 17.0 and later. System.assertEquals(1000,createdCases.size()); Need help for Challenge 4- can some one help me pls. System.assert(numberAllCases==600); update requestList; . } List newEMIRecordList = new List(); for(Equipment_Maintenance_Item__c item : items){ Could you please point out the specifics. Challenge 1 - MaintenanceRequest.trigger and MaintenanceRequestHelper.class }, PRIVATE STATIC Product2 createEq(){ } for(Integer i_fail = 0; i_fail < 300; i_fail ++){ List newProducts = new List(); for(Object p : externalProducts) } User u = new User(Alias = stdtest, Email=stdtest@testorg.com, I hope you well.I know I should contact you but I just do not have anyone to turn to.Am stuck on challenge 4 for almost 3 weeks.Please help out. +13,000 points ~12 hrs App Builder Super Set Superbadge Complete the capstone assessment to earn the App Builder Super Set. SYSTEM.assertEquals(newReq.Date_Reported__c, system.today()); @istest maintenanceNew.Type = 'Other'; if(MRRecord.Status!= oldMap.get(MRRecord.ID).Status && MRRecord.Status == Closed && (MRRecord.Type==Repair || MRRecord.Type==Routine Maintenance)){ Equipment_Maintenance_Item__c i1 = buildItem(newCases[i_ok].Id, equipment.Id); If it works its . }. newDate = Date.today()+result.get(oneCase.Id); Challenge 4: both negative and bulk run successfully but not positive test case. Challenge 4 - MaintenanceHelperTest.class if(newProducts.size() >0) List newEMIRecordList = new List(); Hope this helps!Looking For? Honestly, I suggest reviewing the trailheads leading up to the apex super badge since the apex specialist Superbadge tests you on those core concepts. Id oldCaseId = item.Maintenance_Request__c; I do know the core concepts but I am missing the connection. contact.LastName = last; contact.Email = test@test.com; Salesforce, 2SalesforceApex SpecialistTips, , if(response.getStatusCode() == 200) for this code: @isTest newCase.Status=closed; if(!EquipmentIDListUpdate.contains(EMIRecord.Equipment__c)){ Learn in-demand skills. Http http = new Http(); }, Hey sam! if(!leastValueMap.containsKey(emi.Maintenance_Request__c)){ This was my last superbadge and by completing thisAdvanced Apex Specialist Superbadge, I became eligible forPlatform Developer II certificate. } for(Case newCase : [SELECT Id, Comments, Vehicle__c, Status FROM Case WHERE Subject LIKE DummyOK%]){ And I might not be the best to advice on that particular section. 'Apex Specialist' is one of the superbadges of Salesforce trailhead(A New Approach to Learning Salesforce). update somethingToUpdate; Case newReq = [Select id, subject, type, Date_Reported__c, Vehicle__c, Date_Due__c newCase.Origin=web; Thanks for your wonderful gesture of letting know, I am also geating the same error . } Process Automation Specialist step 7 no work. insert vehicle; So even though you know the concepts you'll have to check and understand what fits where. You should definitely complete the task on your own and you can get all the help. I had cleared this superbadge way back in time would have to seriously redo it to understand what was done on this one. Help with Superbadge Apex Specialist Step 3? Also some of the functions come predefined and it might be that as well. Test.stopTest(); newCase.Date_Due__c=Date.today(); public static Equipment_Maintenance_Item__c buildItem(Id caseId, Id equipmentId){ system.debug('newCaseList '+newCaseList); List EMIList = new List([SELECT Maintenance_Request__c,Maintenance_Request__r.Vehicle__c,Equipment__c, Equipment__r.Maintenance_Cycle__c,Quantity__c FROM Equipment_Maintenance_Item__c WHERE Maintenance_Request__r.Vehicle__c IN: newRoutineMaintenanceVehicleRecordIDList]); }. For any superbadge, you will have to install a package before starting. maintenance_cycle__C = 10, cas.Status = 'Closed'; Apex SpecialistSuperbadge,Challenge-1 : Automate Record Creation,Challenge-2 : Synchronize Salesforce data with an external system. To learn more, see our tips on writing great answers. Product2 pr = new Product2(); insert equipment; Set setIdCases = new Set(); public static void setupTest(){ list requestList = new list(); Trailhead solution for Apex Specialist superbadge Challenge 1 - MaintenanceRequest.trigger and MaintenanceRequestHelper.class Challenge 2 - WarehouseCalloutService.class Challenge 3 - WarehouseSyncSchedule.class Challenge 4 - MaintenanceHelperTest.class Challenge 5 - WarehouseCalloutServiceMock.class and WarehouseCalloutServiceTest.class ApexSOQL100, Apex insert newEMIRecordList; For getting more knowledge I'll suggest go to Apex Hours YouTube channel and check-out the developer series. Save my name, email, and website in this browser for the next time I comment. , ApexApex()75%Apex(1%) check the solution martland has linked, lemme know if it is working fin update emptyReq; Trailhead solution for Apex Specialist superbadge This superbadges require a bit of practical experience in apex and all of them are not available on trailhead. case cs = new case(Type=REPAIR, If you like what I write and it has been ever helpful to you. Create and follow custom learning playlists. else if(leastValueMap.containsKey(emi.Maintenance_Request__c) && emi.Equipment__r.Maintenance_Cycle__c < leastValueMap.get(emi.Maintenance_Request__c).Equipment__r.Maintenance_Cycle__c){ Salesforce Consultant || 6X Certified Salesforce || 1X DevOps Certified || TrailheadRanger || Salesforce Lover || Follow me at https://shivshankarsfdc.com/, Automate record creation using Apex triggers, Synchronize Salesforce data with an external system using asynchronous REST callouts, Test automation logic to confirm Apex trigger side effects, Test integration logic using callout mocks. Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. // List caselist = [Select count(id) from case where case] Alternatively you can join our telegram group for technical discussions among industry professionals, Hey komal. } } GROUP BY Maintenance_Request__r.ID ]; SELECT Maintenance_Request__r.ID cID, MIN(Equipment__r.Maintenance_Cycle__c)cycle MaintenanceRequestHelper.updateWorkOrders(); b. public class Constants { public static final Integer DEFAULT_ROWS = 5; public static final String SELECT_ONE = Label.Select_One; public static final String INVENTORY_LEVEL_LOW = Label.Inventory_Level_Low; public static final List<Schema.PicklistEntry . newRoutineMaintenanceVehicleRecordIDList.add(MRRecord.Vehicle__c); newItems.add(i1); Hot Network Questions Applications of super-mathematics to non-super mathematics Resistance against timing attacks of AES candidates How to deal with Hostile Work Environment after attending Employee Workshop The region and polygon don't match. Method does not exist or incorrect signature: void CreateData(Integer, Integer, Integer, String) from the type MaintenanceRequestHelper. For the most part everything else is pretty straightforward and this helped me get my 500 points. Product needs to be renamed as Equipment not Vehicle since Vehicle is already provided to us in the installed package. } e.Maintenance_Request__c = oldNewCaseMap.get(emis.Maintenance_Request__c).Id; Variable does not exist: Equipment__c Apex specialist superbadge challenge 4. } @future, Http@futureAPI, @future callout true @future http.send maintenanceNew.ContactId = contact.Id; }, Case newRoutineCase = createNewMaintenanceCase(oneCase.Id, oneCase.Vehicle__c, newDate); }. Modified 2 months ago. insert newCaseList; emiListToNewCase = [Select id,name,Maintenance_Request__c,Equipment__r.Maintenance_Cycle__c from Equipment_Maintenance_Item__c where Maintenance_Request__c IN: oldNewCaseMap.keySet()]; for(Equipment_Maintenance_Item__c emis : emiListToNewCase){ Challenge 3 - WarehouseSyncSchedule.class newEMIRecord.Maintenance_Request__c=MRRecord.ID; Case newCase = new Case(); Eigenmann & Veronelli un Gruppo internazionale che nasce nel 1910 leader nella distribuzione di specialit chimiche e ingredienti alimentari per l'industria.. Con circa 340 dipendenti e . enter image description here Tried creating another playground but still same issue. private static Map createNewCases(List caseList) { Set oldIdCases = newCases.keySet(); // TODO: Complete the method to update workorders, public static void createNewMaintenanceRequest(Map oldMap, Map newMap){ Can anyone explain me how getDueDate() function is defined under class: MaintenanceRequestHelper? https://salesforce.quip.com/gJ3QAkFy6boE, Apex SpecialistApexMockApex List EquipmentIDListUpdate = new List(); Build tests for your callout using the included class for the callout mock (WarehouseCalloutServiceMock) and callout test class (WarehouseCalloutServiceTest) in the package. Now Update the below code in HelperClass MaintenanceRequestHelper, public static void updateWorkOrders(){// update workorders//bulk determineList maintenanceRequestList=[select id,case.Vehicle__c,Equipment__c,Equipment__r.Maintenance_Cycle__c,Type,Status from case where id in :Trigger.New limit 200];if(maintenanceRequestList !=null && maintenanceRequestList.size()>0 ){List insertMaintenanceRequest=getCaseList(maintenanceRequestList);insert insertMaintenanceRequest;}}, public static List getCaseList(List maintenanceRequestList){List newMaintenanceRequestList= new List();for(Case cas:maintenanceRequestList){if(cas.Type==Routine Maintenance && cas.Status==Closed){case newMaintenanceRequest=new Case();newMaintenanceRequest.Subject=test;newMaintenanceRequest.Type=Routine Maintenance;newMaintenanceRequest.Vehicle__c=cas.Vehicle__c;newMaintenanceRequest.Equipment__c=cas.Equipment__c;newMaintenanceRequest.Date_Reported__c=date.Today();newMaintenanceRequest.Date_Due__c=Date.today().addDays(Integer.valueOf(cas.Equipment__r.Maintenance_Cycle__c));newMaintenanceRequest.Status=New;newMaintenanceRequest.Origin=Phone;newMaintenanceRequestList.add(newMaintenanceRequest);}}return newMaintenanceRequestList;}}, 2: Synchronize Salesforce data with an external system, public with sharing class WarehouseCalloutService {. private static final string REQUEST_SUBJECT = Testing subject; PRIVATE STATIC Vehicle__c createVehicle(){ Step 2. I'm also trying to get more comfortable with Visual Studio Code with the Salesforce extensions. Equipment_Maintenance_Item__c newItem = new Equipment_Maintenance_Item__c(); HttpResponse response = http.send(request); Hope it helps, find it at the bottom of the website or search site name on telegram. insert contact; Vehicle__c vehicle = new Vehicle__c(); You signed in with another tab or window. vehicleToEquipmentMap.put(MRRecord.Vehicle__c,EquipmentIDListUpdate); for(Equipment_Maintenance_Item__c EMIRecord: EMIList){ Please create a seperate trailhead playground for each superbadge challenge. Apex Specialist Superbadge Null Reference on Challenge 4. Vehicle__c vehicle = [SELECT Id, Name FROM Vehicle__c WHERE Name = car LIMIT 1]; WHERE Maintenance_Request__c IN :setIdCases]; Map mapCases = new Map(); TimeZoneSidKey=America/Los_Angeles, UserName=stdtest@testorg.com); List caseList = new List(); }, @isTest static void test_triggerMaintenanceRequestHelperTest() {. product.Maintenance_Cycle__c = 2; }. Status=STATUS_NEW, Test.stopTest(); if(Trigger.isInsert){ How to react to a students panic attack in an oral exam? document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); Ever loved someone so much, you would do anything for them? Hey Haja. from case for(Id oldId : oldIdCases){ My Blog explains about the steps for completing this super badge. maintenanceCycle=EMIRecord.Equipment__r.Maintenance_Cycle__c; }, if(Trigger.isAfter){ Contact contact = [SELECT Id, FirstName, LastName,Email,AccountId FROM Contact WHERE Email = test@test.com LIMIT 1]; } Product2 newEquipment = new Product2(); When I jumped into the super badge I realised that lack a lot of info surrounding the Superbadge. newEquipment.Maintenance_Cycle__c = 10; Work fast with our official CLI. mukesh gupta. I think everyone has given awesome suggestions , I'll try to add some more insights -. newCase.Status=New; We are always on the hunt for writers that have something interesting to say! system.assert(newReq.Subject != null); Equipment_Maintenance_Item__c newEMIRecord = new Equipment_Maintenance_Item__c(); TrailheadSalesforce Use integration and business logic to push your Apex coding skills to the limit with the Apex Specialist superbadge. } Do lemme know if you find solutions codes that work well for it. im stuck in challenge 4. newMRRecord.Vehicle__c = MRRecord.Vehicle__c; newCase.Date_Reported__c=Date.today(); https://techevangel.com/2018/06/01/superbadge-advanced-apex-specialist/. return equipment; How can we prove that the supernatural or paranormal doesn't exist? maintenanceNew.Status = 'New'; System.debug(*** Total cases (expected 900): +numberAllCases); This link helped me, so I modified the code like this: Thanks for contributing an answer to Stack Overflow! } With that being said, it seems like you need more understanding of the apex coding language in general. public with sharing class MaintenanceRequestHelperTest {. } if(newEMIRecordList.size()>0){ Test automation logic || Apex Specialist Superbadge Education Org's 273 subscribers Subscribe 23 Share 6.4K views 6 months ago Apex Specialist - Superbadge This is Apex Specialist Superbadge. I started working on this superbadge and this post is to document some of the findings / tips / gotchas as I progress through this one. Hi guys, I'm almost finished with the test to get tge Apex Specialist SuperBadge, I attempt to validate the "Test automation logic" but I can't really see what is my error or why is not passing. I'm working on the Apex Specialist super badge on the Salesforce Trailhead. 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 Advanced Apex Specialist Superbadge - Step 3 Issue . Try logging in and out and reverify. } for(Case MRRecord: newMap.values()){ Origin=REQUEST_ORIGIN, } By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform. } from Equipment_Maintenance_Item__c How Intuit democratizes AI development across teams through reusability. Level Up with Salesforce and Win Free Certificate voucher! It did not work for me. admin thanks! Change the CodesGo to Developer console and edit the Apex class and related triggers for below: Issue with Superbadge Apex Specialist Step 2? Copy the name of the package and use this command in the terminal. Integer numberOfDays = Integer.valueOf(leastValueMap.get(c.Id).Equipment__r.Maintenance_Cycle__c); My Blog explains about the steps for completing this super badge. vehicle.Name = car; Tips, ApexWeb APIApexDML1, Trigger.new sObject List Accelerate learning across your organization. Stuck on Superbadge Apex Specialist Step 6? Test scheduling logic to confirm action gets queued. newMRRecord.Subject=Routine CheckUp + date.today(); Test.setMock(HttpCalloutMock.class, new WarehouseCalloutServiceMock()); String jobID=System.schedule(Warehouse Time To Schedule to Test, scheduleTime, new WarehouseSyncSchedule()); //Contains schedule information for a scheduled job. If you search regarding Apex on YouTube you'll find many more channels and videos. Hey itachi, try debugging the code and look where the issue is. Case maintenanceNew = new Case(); } { What is a word for the arcane equivalent of a monastery? Please provide additional details in your answer. requestList.add(createMaintenanceRequest(vehicleList.get(i).id, equipmentList.get(i).id)); static void allTheDataForThisTestClass() {. 2022; static testmethod void testjob(){ , Test.setMockMock public static String CRON_EXP = 0 0 0 15 3 ? to use Codespaces. Date todayDate = System.today(); cas.Type = 'Repair'; Review the data schema in your modified Salesforce org as you read the detailed requirements below. Maintenance_Request__c = requestId); You have to insert as many work parts records for each inserted new case record. 2UnixCron, Apex Check the name of the apex class created and match it in same fashion. Closing a Maintenance Request of type Routine Maintenance did not create of a new . from Equipment_Maintenance_Item__c This is the message I get: I was able to solve it, when trailhead runs the testing is doing a count query to Cases based on the Subject, I didn't put the subject when the case is created as new. id vehicleId = vehicle.Id; product2 equipment = createEq(); This repository is for solving all the problems in the way of earning this superbadge. Learn more. Please from Equipment_Maintenance_Item__c same error for me too.. can you please help me out, hi public with sharing class WarehouseCalloutService implements queueable, Database.AllowsCallouts { private static final string CLOSED = Closed; if(MRRecord.Type==Routine Maintenance){ insert vehicle; Product2 product = new Product2(); insert vehicle; Modify the Apex Classes as below, save and run all. I just started Salesforce one and a half months ago. }. newCase.Date_Due__c=newDate; private static void linkEquipmentsToNewCases( SYSTEM.assertEquals(newReq.ProductId, equipmentId); workPartList.add(createWorkPart(equipmentList.get(i).id, requestList.get(i).id)); Invalid type: Schema.Work_Part__c, Use variable as ProductId instaed of Equipment__c Discover your ideal career. With that being said, it seems like you need more understanding of the apex coding language in general. A tag already exists with the provided branch name. The author also has a YouTube channel that goes over key concepts which may be helpful: SFDC YouTube Channel Best of luck! I've successfully create a . Share to someone in the Trailhead Community. oldRequestIds.add(req.Id); Apex Specialist Superbadge Trailmix | Salesforce Trailhead Laura Thomas +19,700 Points +1,000 points Module Apex Triggers Write Apex triggers to perform custom database actions. public static void testPositive(){ I want to know that which part of my code is wrong, not just answer. Hi shruti. Rename cases and products to match the HowWeRoll schema, and assign all profiles to the custom HowWeRoll page layouts for those objects. SYSTEM.assertEquals(newReq.Vehicle__c, vehicleId); All these codes are working 100% and run smoothly to help you achieve the below shiny badge. Map mapOldCasesWithItems, Map mapOldCasesWithNewCases){. Test.startTest(); newCases.add(newCase); Please Guide me.. Case newCase = buildCase(vehicle.Id,'Electrical','DummyFAIL_'+i_fail); Udemy would be a paid platform, hence I'll suggest to first exhaust all the free resources and then jump on to Udemy courses. Mock, insert emptyReq; Equipment_Maintenance_Item__c workP = createWorkPart(equipmentId, emptyReq.Id); product.Replacement_Part__c = true; Challenge Not yet complete heres whats wrong: e.Equipment__c = emis.Equipment__c; Use Git or checkout with SVN using the web URL. contact.FirstName = test; }, PRIVATE STATIC Case createMaintenanceRequest(id vehicleId, id equipmentId){ maintenanceNew.Subject = 'Other'; newEquipment.Lifespan_Months__c = 10; newEquipment.Name = Dummy Equipment; }, public static void createNewEquipmentMaintenanceItem(Map newMap){ 3 Answers. , This Superbadge challenge changed on 9th December 2020 , is above code for updated challenge? Almost every step has assistance posted on the Salesforce Developer and Trailblazers forums. Vehicle__C vehicle = createVehicle(); pr.Name = (String)productMap.get(name); Tips . A place where magic is studied and practiced? Maybe not optimized! Dont forget to create the chatter group , update the product trigger to handle only, Override the New and Edit buttons under the Order object to use the OrderEdit visualforce page. Various trademarks held by their respective owners. Issue with Superbadge Apex Specialist Step 5? Superbadges - Apex Specialist (The 'MaintenanceRequest' trigger does not appear to be handling bulk operations correctly) Hi guys, I'm almost finished with the test to get tge Apex Specialist SuperBadge, I attempt to validate the "Test automation logic" but I can't really see what is my error or why is not passing. Unlock, Apex Specialist Super Badge Change the labels for Case and Product To Maintenance Request and Equipment respectively. Let the universe renounce some goodness to you . Issue with step #6 of the Lightning Web Components Specialist superbadge. 2023 TechForce Services. Vehicle__c=vehicleId); private static final String WAREHOUSE_URL = https://th-superbadge-apex.herokuapp.com/equipment; public void execute(QueueableContext context){ { request.setMethod(GET); Does ZnSO4 + H2 at high pressure reverses to Zn + H2SO4? Cant remember precisely. The region and polygon don't match. System.schedule , JobIdJobIDCronTriggerJob List newRoutineMaintenanceVehicleRecordIDList = new List(); By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Map result = getDueDate(caseList); for(Case oneCase : caseList) { Hi, It should work. Challenge Not yet complete heres whats wrong: Challenge 2: Synchronize Salesforce data with an external system. If you don't see your @future method in the list, then there's something wrong, but if you . caseToUpdate.add(newCase); id equipmentId = equipment.Id; System.debug(vehicleId+ +equipmentId); case somethingToUpdate = createMaintenanceRequest(vehicleId,equipmentId); maintenanceCycle=EMIRecord.Equipment__r.Maintenance_Cycle__c; id equipmentId = equipment.Id; case emptyReq = createMaintenanceRequest(vehicleId,equipmentId); where Maintenance_Request__c in: oldRequestIds]; system.assert(allRequests.size() == 300); Making statements based on opinion; back them up with references or personal experience. Integer daysToAdd = Integer.valueOf(res.get(cycle)); Set Up Development Org List newRoutineMaintenanceVehicleRecordIDList = new List();