mshanemc / roundRobinProcessBuilder

27 stars 10 forks source link

Picklist #21

Open lebinfo opened 4 years ago

lebinfo commented 4 years ago

Hi, Great app you have. I faced one problem when adding a picklist as condition leads are not created and get this error: An Apex error occurred: System.ListException: List index out of bounds: 0

Can you please guide way how to solve this.

Thank You

mshanemc commented 4 years ago

Interesting. Do you have more details, like a debug log or stacktrace or line numbers?
And a picture of your flow/PB?

On May 8, 2020, at 9:07 PM, lebinfo notifications@github.com wrote:

 Hi, Great app you have. I faced one problem when adding a picklist as condition leads are not created and get this error: An Apex error occurred: System.ListException: List index out of bounds: 0

Can you please guide way how to solve this.

Thank You

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lebinfo commented 4 years ago

23:36:29.553 (621061153)|CODE_UNIT_FINISHED|MatchAccountEmail on Lead trigger event BeforeUpdate|sfdc_trigger/MatchAccountEmail 23:36:29.663 (663407304)|FLOW_CREATE_INTERVIEW_BEGIN|00D1l0000008b16|3001l00000091Xa|3011l000000HXNb 23:36:29.663 (666767512)|FLOW_CREATE_INTERVIEW_END|48018f96aff4361b765ef152b4017200237b76-5453|Lead Assignment Process 23:36:29.553 (666841706)|WF_FLOW_ACTION_BEGIN|09L1l0000001Hir 23:36:29.553 (666884382)|WF_FLOW_ACTION_DETAIL|09L1l0000001Hir|[Lead: Entity entity 00Q1l000004HGvW]|Id=09L1l0000001Hir|CurrentRule:Lead_Assignment_Process3011l000000HXNb (Id=01Q1l0000001tqI) 23:36:29.553 (667294355)|WF_FLOW_ACTION_DETAIL|Param Name: myVariable_current, Param Value: ENCODED:{![treatNullAsNull]{!ID:this}}, Evaluated Param Value: {Entity type: Lead, id: 00Q1l000004HGvWEAW}|Param Name: myVariable_old, Param Value: {!old}, Evaluated Param Value: null 23:36:29.668 (668286514)|FLOW_START_INTERVIEWS_BEGIN|1 23:36:29.668 (668312011)|FLOW_START_INTERVIEW_BEGIN|48018f96aff4361b765ef152b4017200237b76-5453|Lead Assignment Process 23:36:29.668 (668415776)|FLOW_START_INTERVIEW_LIMIT_USAGE|SOQL queries: 3 out of 100 23:36:29.668 (668433134)|FLOW_START_INTERVIEW_LIMIT_USAGE|SOQL query rows: 0 out of 50000 23:36:29.668 (668452466)|FLOW_START_INTERVIEW_LIMIT_USAGE|SOSL queries: 0 out of 20 23:36:29.668 (668477981)|FLOW_START_INTERVIEW_LIMIT_USAGE|DML statements: 0 out of 150 23:36:29.668 (668490457)|FLOW_START_INTERVIEW_LIMIT_USAGE|DML rows: 0 out of 10000 23:36:29.668 (668504675)|FLOW_START_INTERVIEW_LIMIT_USAGE|CPU time in ms: 5 out of 15000 23:36:29.668 (669068635)|FLOW_START_INTERVIEW_LIMIT_USAGE|Heap size in bytes: 26672 out of 6000000 23:36:29.668 (669084399)|FLOW_START_INTERVIEW_LIMIT_USAGE|Callouts: 0 out of 100 23:36:29.668 (669103246)|FLOW_START_INTERVIEW_LIMIT_USAGE|Email invocations: 0 out of 10 23:36:29.668 (669116895)|FLOW_START_INTERVIEW_LIMIT_USAGE|Future calls: 0 out of 50 23:36:29.668 (669126924)|FLOW_START_INTERVIEW_LIMIT_USAGE|Jobs in queue: 0 out of 50 23:36:29.668 (669138805)|FLOW_START_INTERVIEW_LIMIT_USAGE|Push notifications: 0 out of 10 23:36:29.668 (669203819)|FLOW_VALUE_ASSIGNMENT|48018f96aff4361b765ef152b4017200237b76-5453|myVariable_old| 23:36:29.668 (673222432)|FLOW_VALUE_ASSIGNMENT|48018f96aff4361b765ef152b4017200237b76-5453|myVariable_current|{Id=00Q1l000004HGvWEAW, IsDeleted=false, MasterRecordId=null, Salutation=null, FirstName=Entity, LastName=entity, MiddleName=null, InformalName=null, Suffix=null, RecordTypeId=012b00000008jBqAAI, Title=null, Company=null, Street=null, City=null, State=null, PostalCode=null, Country=null, Latitude=null, Longitude=null, GeocodeAccuracy=null, Phone=null, MobilePhone=null, Fax=null, Email=entity@entity.com, Website=null, PhotoUrl=null, Description=null, LeadSource=null, Status=New, Industry=null, Rating=null, AnnualRevenue=null, NumberOfEmployees=null, OwnerId=005b00000016JDCAA2, HasOptedOutOfEmail=false, IsConverted=false, ConvertedDate=null, ConvertedAccountId=null, ConvertedContactId=null, ConvertedOpportunityId=null, IsUnreadByOwner=true, CreatedDate=2020-05-10 20:36:30, CreatedById=005b0000002G8MPAA0, LastModifiedDate=2020-05-10 20:36:30, LastModifiedById=005b0000002G8MPAA0, SystemModstamp=2020-05-10 20:36:30, LastActivityDate=null, DoNotCall=false, CreatedByID=005b0000002G8MPAA0, LastModifiedByID=005b0000002G8MPAA0, HasOptedOutOfFax=false, LastViewedDate=null, LastReferencedDate=null, LastTransferDate=2020-05-10 20:36:30, Jigsaw=null, JigsawContactId=null, EmailBouncedReason=null, EmailBouncedDate=null, IndividualId=null, ID_Type__c=null, Company_Namec=null, Previous_Equitiesc=false, Lead_Source_Detailsc=null, Typec=null, IBc=null, Web_Commentsc=null, Preferred_Language__c=null, Preferred_Communicationc=null, data_sourcec=null, UTM_Source__c=null, UTM_Mediumc=null, Ad_Websitec=null, Lead_Source_Details_Opp__c=null, Marketing_Preferencesc=null, Platformc=null, Financial_Productc=CFD, Type_of_Accountc=null, Marital_Statusc=null, Employment_Statusc=null, Investment_Experience__c=null, Current_Employerc=null, Number_of_Dependentsc=null, Personal_Emailc=null, Type_of_Businessc=null, Occupation__c=null, Years_Employedc=null, Business_Addressc=null, Business_Phone__c=null, Business_FAXc=null, IP_Addressc=null, UTM_Term__c=null, UTM_Contentc=null, UTM_Campaignc=null, Source_Type__c=null, Previous_Currenciesc=false, Previous_Commoditiesc=false, Previous_Options__c=false, Previous_Futuresc=false, Previous_Bondsc=false, Previous_CFD__c=false, Investment_Objectivec=null, Work_Financial_Sectorc=null, Work_Number_of_Yearsc=null, Estimated_Annual_Incomec=null, Estimated_Net_Worthc=null, Source_of_Fundsc=null, Source_of_Funds_Otherc=null, Other_Person_Authorityc=null, Related_To_Personc=null, Related_To_Informationc=null, Citizen_of_the_US__c=null, Agree_Terms_of_Tradingc=null, Agree_Products_Offeredc=null, Economics_Right_Ownerc=null, Previous_OTCc=false, demo_mt4c=null, Nationalityc=null, Residencyc=null, Birthdatec=null, Mother_s_Namec=null, Father_s_Namec=null, Lead_Sub_Statusc=null, Public_Positions_Detailsc=null, smagicbasicSMSOptOutc=false, Lead_Numberc=550549, Round_Robin_IDc=2.0, Souq_el_Malc=false, iContactforSFiContact_Contact_Idc=null, frequently_tradec=null, number_of_tradesc=null, average_sizec=null, funding_methodc=null, wt_bank_namec=null, cc_bank_name__c=null, public_positionsc=null, referred_by_ibc=null, referred_ib_detailsc=null, agree_changing_informationc=null, Lead_Website__c=null, Lead_Phonec=null, Lead_Mobilec=null, Account_Typec=null, Lead_Created_datec=2020-05-10 00:00:00, Round_Robin_ID_4c=2.0, Place_of_birth_within_the_USAc=null, First_Arrival_Datec=null, Withdrawal_Methodc=null, Withdrawal_Name_Of_The_Bankc=null, Accounts_still_activec=null, Have_a_current_USA_telephone_number__c=null, Round_Robin_ID_7c=6.0, Have_a_US_correspondence_addressc=null, Co_Name_of_Corporation__c=null, US_correspondence_address_detailsc=null, demo_passwordc=null, Co_Company_expiry_date__c=null, Co_Country_of_Incorporationc=null, Co_Company_Type_of_businessc=null, Co_Name_of_Chairmanc=null, Co_Names_of_legal_representativesc=null, Co_Names_of_partnersc=null, CO_Authorized_Full_Namec=null, Co_Authorized_Emailc=null, Co_Authorized_Telephonec=null, CO_Annual_revenues_last_Yearc=null, Co_Annual_Profit_last_yearc=null, Co_Expected_Annual_Account_Turnoverc=null, Co_Banks_dealing_withc=null, Co_Purpose_of_the_relation_with_Amanac=null, CO_Company_Source_of_fundsc=null, Co_Hereby_Economic_right__c=null, Co_Date_of_foundationc=null, Website_Tokenc=null, demo_investorc=null, demo_phone_passwordc=null, demo_groupc=null, Investment_Objective_Otherc=null, Friend_fname__c=null, Friend_lnamec=null, Friend_phonec=null, Friend_email__c=null, F_Passwordc=null, Personally_meet_clientsc=false, Are_your_Clientsc=null, AccountTypec=null, ZendeskLast_Sync_Datec=null, ZendeskLast_Sync_Statusc=null, ZendeskResultc=null, ZendeskTagsc=null, ZendeskZendesk_OutofSyncc=false, ZendeskZendesk_idc=null, ZendeskZendesk_oldTagsc=null, ZendeskisCreatedUpdatedFlagc=false, Zendesknotesc=null, Zendeskorganizationc=null, Heard_About_Usc=null, Seminarc=null, Cancel_Workflow__c=false, Education_Levelc=null, Average_Deposite_Sizec=null, Average_Trading_Volumec=null, Blog_Forum_Website_Addressc=null, Blog_or_Forumc=false, Commissionc=null, Company_Title__c=null, Corporate_Entity_Principle_Namec=null, Currently_Introducing_Customersc=false, Customers_originating_from_which_countryc=null, Forex_Experience_yrsc=null, Forex_Website_Addressc=null, Forex_Websitec=false, Formal_Marketing__c=false, IB_Linkc=www.amamacapital.comEntitytery, Equities_Stocks_Experiencec=null, Bonds_Experience__c=null, Commodities_Experiencec=null, Contracts_for_Difference_CFDs_Experienc=null, Currencies_Experience__c=null, Futures_Experiencec=null, Options_Experiencec=null, OTC_leveraged_products_other_Experiencc=null, g2wIntegrationg2wCreatedThisLeadc=false, g2wIntegrationg2wDontReassignLeadc=false, g2wIntegrationg2wPurchasingRolec=null, g2wIntegrationg2wPurchasingTimeframec=null, License_Registration_noc=null, List_of_Forex_Brokers__c=null, Cash_Shares_and_bondsc=null, OTC_derivativesc=null, Leverage_exchange_traded_derivativesc=null, Did_you_ever_attend_seminar_or_workshopc=null, Does_your_work_experience_over_the_lastc=null, Worked_for_more_than_3_consecutive_yearsc=null, Worked_for_less_than_3_yearsc=null, Neitherc=null, I_acknowledge_market_conditions__c=null, I_am_familiar_Amana_Trading_Platformc=null, It_is_my_responsibility_to_Monitorc=null, Appropriateness_Check__c=null, Management_Feec=null, Mark_Upc=null, More_than_5_or_more_trading_clientsc=false, Number_of_Introduced_Clientsc=null, Other_Forex_Marketingc=null, Other_Relevant_Information_Notesc=null, Performance_Feec=null, Regulatory_Body_and_Registration_noc=null, Total_accountsc=null, Types_of_Marketsc=null, Volume_Rebate__c=null, Is_Corporatec=false, Is_Corporate_Partnerc=false, Is_Individualc=true, Is_Individual_Partnerc=false, Recordtypec=Individual, Average_level_of_leverage_in_the_financic=null, Capacity__c=null, Professional_or_Academic_Qualificationsc=null, liable_to_pay_taxes_in_the_U_Sc=null, Arab_General_Emailc=false, Other_Educational_Levelc=null, Source_of_Income_Employment_Typec=null, Retentionc=false, Round_Robin_2c=2.0, Round_Robin_5c=5.0, Higher_Leverage_in_CFDsc=null, Entityc=UAE, Agree_Client_Agreement_UAEc=null, leadcapFacebook_Lead_IDc=null, Type_of_Joint_Accountc=null, Round_Robin_6c=2.0, Trading_Experiencec=null, if_trading_experience_yes__c=null, Market_is_moving_against_your_positionc=null, Do_you_understand_that_in_trading_in_CFDc=null, Chinese_First_Namec=null, Years_Trading_Shares_and_Bondesc=null, Years_Trading__c=null, Years_Trading_Futures_Optionsc=null, Tranx_last_12_months_Shares_and_Bondesc=null, Tranx_last_12_m_FX_Commodities_CFD_ind__c=null, Tranx_last_12_months_Futures_Optionsc=null, Average_size_trade_Shares_and_Bondesc=null, Average_size_trade_FX_Commodities_CFD_Inc=null, Average_size_trade_Futures_Optionsc=null, Last_12_months_Financial_Instruments_Trx__c=null, Product_Riskc=null, Interface_Riskc=null, Country_Risk__c=null, Customer_Riskc=null, Chinese_Last_Namec=null, Risk_ClassificationNumber__c=0.0, Risk_Classificationc=Low 0, Account_Holderc=null, Approved_Relationship_Managerc=false, Residency_Numberc=null, Nationality_Numberc=null, Country_Risk_numberc=0.0, Affiliate_Tokenc=null, Affiliate_Usernamec=null, Round_Robin_All_Salesc=2.0, Primary_Account_Holderc=null, Secondary_Account_Holderc=null, Softwarec=null, Group_Namec=null, Demo_Leveragec=null, Password_for_Realc=null, Agent_Aliasc=null, Demo_Depositc=null, Round_Robin_8c=6.0, Jurisdiction_of_Residence_tax_purposes__c=null, Tax_Identification_Number_TINc=null, smcsnpNumber_Of_Employeesc=null, Other_for_TINc=null, Passport_Numberc=null, National_Identification_Numberc=null, Personal_Numberc=null, UK_National_Insurance_numberc=null, X10_DSS_digit_investor_sharec=null, LEI_Numberc=null, LEI_Expiry_Datec=null, All_Traffic_Sourcesc=null, Devicec=null, gaconnector_Browserc=null, gaconnector_City__c=null, gaconnector_Countryc=null, gaconnector_First_Click_Campaignc=null, gaconnector_First_Click_Channel__c=null, gaconnector_First_Click_Contentc=null, gaconnector_First_Click_Landing_Pagec=null, gaconnector_First_Click_Medium__c=null, gaconnector_First_Click_Referrerc=null, gaconnector_First_Click_Sourcec=null, gaconnector_First_Click_Termc=null, gaconnector_Google_Analytics_Client_IDc=null, gaconnector_Google_Analytics_Linkc=_HL_ENCODED_https://analytics.google.com/analytics/web/#report/visitors-user-activity/a72840801w110617423p115383936/%3F_r.userId%3D%26_r.userListReportStates%3D%26_r.userListReportId%3Dvisitors-legacy-user-id/_HL_Open in Google Analytics_HLblankHL, gaconnector_IP_Addressc=null, Intended_Initial_Investmentc=null, Additional_Jurisdiction_of_residence_Taxc=null, Ringlead_Fieldsc=null, If_TIN_not_applicable_select_reason__c=null, Campaign_IDc=null, FX_CFDs_other_margin_trade_instrumentsc=null, Yearly_volume_of_past_transactionsc=null, Average_leverage_used_in_products_tradedc=null, Edu_Qual_Work_Exp_in_our_productsc=null, Net_disposable_incomec=null, Acceptable_risk_reward_profilec=null, what_are_your_investment_objectivesc=null, position_is_10_000_lev_is_1_100_marg_1c=null, Shares_Bonds_Equitiesc=null, Futures_Options_Swapsc=null, smcsnpPurchasing_Time_Framec=null, smcsnpQuestion_and_Commentsc=null, smcsnpRole_in_Purchase_Process__c=null, Intended_Purpose_of_Transactionsc=null, Anticipated_Account_Turnoverc=null, Client_Product_Governance_Scoring__c=null, Real_Application_Submit_Stagec=null, No_Marketing_Emailsc=false, Corporate_Record_Typec=null, Round_Robin_10c=10.0, Joint_Email__c=null, Detailed_description_of_your_core_businec=null, Geographic_Area_s_Jurisdiction_s_of_OPc=null, Authorised_for_regulated_service__c=null, If_Yes_state_the_name_numberc=null, Are_you_part_of_a_groupc=null, If_Yes_provide_Group_Structurec=null, Type_of_closing_order_to_manage_risks_ofc=null, Leverage_expose_you_to_higher_riskc=null, Real_Account_Formc=null, gaconnector_Last_Click_Campaignc=null, gaconnector_Last_Click_Channelc=null, gaconnector_Last_Click_Contentc=null, gaconnector_Last_Click_Landing_Pagec=null, gaconnector_Last_Click_Mediumc=null, gaconnector_Last_Click_Referrerc=null, gaconnector_Last_Click_Source__c=null, gaconnector_Last_Click_Termc=null, gaconnector_Latitude_from_IPc=null, gaconnector_Location_approxc=_HL_ENCODED_https://maps.google.com/maps?q=loc:,_HL_Open in Google Maps_HLblankHL, gaconnector_Longitudec=null, gaconnector_Number_of_Website_Visitsc=null, gaconnector_Operating_Systemc=null, gaconnector_Pages_visitedc=null, gaconnector_Time_Spent_on_Website__c=null, gaconnector_Time_Spent_on_Website_formulc=0:0, gaconnector_Time_Zonec=null, Fiscal_Code__c=null, Registration_Datec=null, Link_to_Accountc=null, Registration_Placec=null, Bank_Address_Branchc=null, Bank_Countryc=null, Bank_Account_Namec=null, Bank_Account_Numberc=null, IBANc=null, Sort_code_BICc=null, Balance_sheet_of_at_least_EUR_20_000_000c=null, Net_turnover_of_at_least_EUR_40_000_000c=null, Own_funds_of_at_least_EUR_2_000_000c=null, Does_size_exceed_EUR_500_000_00c=null, Purpose_Reason_for_the_envisaged_servicec=null, Bankruptcy_Insolvency__c=null, Base_Currencyc=null, Corporate_Platformc=null, Corporate_Leverage__c=null, Ownership_and_Control_Structurec=null, Please_choose_the_service_s_envisagedc=null, Anticipated_Initial_Depositc=null, Anticipated_deposit_per_Annumc=null, Company_understand_risksc=null, Experience_of_trading_marginedc=null, co_If_Yesc=null, Type_of_investments_the_Company_havec=null, How_large_are_these_Transactionsc=null, How_often_Company_make_these_tranxc=null, How_long_Company_making_these_tranx__c=null, I_am_interested_inc=null, Owner_Statusc=Active, Investment_Knowledge_of_the_tranxs_servi__c=null, Investment_Knowledge_professional_qualifc=null, Provide_us_with_any_further_informationc=null, Board_Resolution__c=null, Lead_Linkc=null, Real_Account_Linkc=null, UniqueEntryContact_Dupes_Ignoredc=null, UniqueEntryLead_Dupes_Ignoredc=null, Been_employed_in_Financial_Servicesc=null, Authorised_Tradersc=null, Round_Robin_9c=2.0, Never_Convicted_of_any_offencec=null, Assets_derived_from_proper_sourcesc=null, Provision_of_Informationc=null, Signatures_and_Consentsc=false, UniqueEntryEnrichedOnc=null, UniqueEntryRinglead_Id__c=null} 23:36:29.668 (673434770)|FLOW_ELEMENT_BEGIN|48018f96aff4361b765ef152b4017200237b76-5453|FlowDecision|myDecision 23:36:29.668 (675378629)|FLOW_RULE_DETAIL|48018f96aff4361b765ef152b4017200237b76-5453|myRule_1|false 23:36:29.668 (675412556)|FLOW_VALUE_ASSIGNMENT|48018f96aff4361b765ef152b4017200237b76-5453|myRule_1|false 23:36:29.668 (675916206)|FLOW_ELEMENT_END|48018f96aff4361b765ef152b4017200237b76-5453|FlowDecision|myDecision 23:36:29.668 (675932603)|FLOW_ELEMENT_BEGIN|48018f96aff4361b765ef152b4017200237b76-5453|FlowDecision|myDecision3 23:36:29.668 (676369906)|FLOW_RULE_DETAIL|48018f96aff4361b765ef152b4017200237b76-5453|myRule_4|true 23:36:29.668 (676392603)|FLOW_VALUE_ASSIGNMENT|48018f96aff4361b765ef152b4017200237b76-5453|myRule_4|true 23:36:29.668 (676792579)|FLOW_ELEMENT_END|48018f96aff4361b765ef152b4017200237b76-5453|FlowDecision|myDecision3 23:36:29.668 (676811439)|FLOW_ELEMENT_BEGIN|48018f96aff4361b765ef152b4017200237b76-5453|FlowActionCall|myRule_4_A1 23:36:29.668 (677536692)|FLOW_ELEMENT_DEFERRED|FlowActionCall|myRule_4_A1 23:36:29.668 (677785317)|FLOW_ELEMENT_END|48018f96aff4361b765ef152b4017200237b76-5453|FlowActionCall|myRule_4_A1 23:36:29.668 (677798565)|FLOW_START_INTERVIEW_END|48018f96aff4361b765ef152b4017200237b76-5453|Lead Assignment Process 23:36:29.668 (677826111)|FLOW_BULK_ELEMENT_BEGIN|FlowActionCall|myRule_4_A1 23:36:29.681 (681282272)|PUSH_TRACE_FLAGS|[EXTERNAL]|01p1l000000JcWK|roundRobinAssigner|APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER 23:36:29.681 (681376275)|CODE_UNIT_STARTED|[EXTERNAL]|01p1l000000JcWK|roundRobinAssigner.assign(List) 23:36:29.681 (681562852)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:16 23:36:29.681 (681579592)|VARIABLE_SCOPE_BEGIN|[102]|this|roundRobinAssigner.RoundRobinAssignment|true|false 23:36:29.681 (681652652)|VARIABLE_ASSIGNMENT|[102]|this|{}|0x3a9b4d0b 23:36:29.681 (681710251)|STATEMENT_EXECUTE|[102] 23:36:29.681 (681714090)|STATEMENT_EXECUTE|[104] 23:36:29.681 (681717279)|STATEMENT_EXECUTE|[107] 23:36:29.681 (681720379)|STATEMENT_EXECUTE|[110] 23:36:29.681 (681757329)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:18 23:36:29.681 (681763053)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:16 23:36:29.681 (681780165)|VARIABLE_ASSIGNMENT|[EXTERNAL]|this.recordId|"00Q1l000004HGvWEAW"|0x3a9b4d0b 23:36:29.681 (681795620)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:9 23:36:29.681 (681800111)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:16 23:36:29.681 (681808696)|VARIABLE_ASSIGNMENT|[EXTERNAL]|this.groupName|"DubaiTeam"|0x3a9b4d0b 23:36:29.681 (681817971)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8 23:36:29.681 (681910696)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:20 23:36:29.681 (681923465)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:7 23:36:29.681 (681933366)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:5 23:36:29.681 (681955897)|METHOD_ENTRY|[1]|01p1l000000JcWK|roundRobinAssigner.roundRobinAssigner() 23:36:29.681 (681967509)|STATEMENT_EXECUTE|[1] 23:36:29.681 (681974349)|STATEMENT_EXECUTE|[1] 23:36:29.681 (681988870)|SYSTEM_MODE_ENTER|true 23:36:29.681 (682008652)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:5 23:36:29.681 (682019824)|STATEMENT_EXECUTE|[102] 23:36:29.681 (682029227)|SYSTEM_MODE_EXIT|true 23:36:29.681 (682046256)|METHOD_EXIT|[1]|roundRobinAssigner 23:36:29.681 (682091818)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8 23:36:29.681 (682106072)|VARIABLE_SCOPE_BEGIN|[4]|rras|List|true|false 23:36:29.681 (682173852)|VARIABLE_ASSIGNMENT|[4]|rras|[{"groupName":"DubaiTeam","recordId":"00Q1l000004HGvWEAW"}]|0x2403a2de 23:36:29.681 (682195660)|SYSTEM_MODE_ENTER|true 23:36:29.681 (682207139)|HEAP_ALLOCATE|[7]|Bytes:5 23:36:29.681 (682216756)|STATEMENT_EXECUTE|[4] 23:36:29.681 (682220799)|STATEMENT_EXECUTE|[7] 23:36:29.681 (682227493)|HEAP_ALLOCATE|[7]|Bytes:87 23:36:29.681 (682254443)|HEAP_ALLOCATE|[7]|Bytes:4 23:36:29.681 (683389578)|SOQL_EXECUTE_BEGIN|[7]|Aggregations:0|SELECT id, GroupNamec, FieldNamec, Objectc, IndexOfLastUsedc FROM RoundRobinc 23:36:29.681 (683411708)|LIMIT_USAGE|[7]|SOQL|4|100 23:36:29.681 (683434364)|LIMIT_USAGE|[7]|AGGS|0|300 23:36:29.681 (686328724)|SOQL_EXECUTE_END|[7]|Rows:6 23:36:29.681 (686348668)|LIMIT_USAGE|[7]|SOQL_ROWS|6|50000 23:36:29.681 (686373383)|HEAP_ALLOCATE|[7]|Bytes:28 23:36:29.681 (686428402)|HEAP_ALLOCATE|[7]|Bytes:899 23:36:29.681 (686536948)|HEAP_ALLOCATE|[7]|Bytes:28 23:36:29.681 (686562860)|VARIABLE_SCOPE_BEGIN|[7]|RRSettings|List|true|false 23:36:29.681 (686598672)|VARIABLE_ASSIGNMENT|[7]|RRSettings|"List of size 6 too large to display"|0x194ff790 23:36:29.681 (686607980)|STATEMENT_EXECUTE|[9] 23:36:29.681 (686625017)|HEAP_ALLOCATE|[9]|Bytes:4 23:36:29.681 (686656161)|SYSTEM_CONSTRUCTOR_ENTRY|[9]|(Integer) 23:36:29.681 (686685095)|SYSTEM_CONSTRUCTOR_EXIT|[9]|(Integer) 23:36:29.681 (686690983)|VARIABLE_SCOPE_BEGIN|[9]|recordIds|Set|true|false 23:36:29.681 (686723235)|VARIABLE_ASSIGNMENT|[9]|recordIds|[]|0x2d583011 23:36:29.681 (686730073)|STATEMENT_EXECUTE|[11] 23:36:29.681 (686839751)|HEAP_ALLOCATE|[11]|Bytes:4 23:36:29.681 (686878701)|VARIABLE_SCOPE_BEGIN|[11]|usersByGroup|Map<String,List>|true|false 23:36:29.681 (686900266)|VARIABLE_ASSIGNMENT|[11]|usersByGroup|{}|0xfd4f481 23:36:29.681 (686907190)|STATEMENT_EXECUTE|[12] 23:36:29.681 (686919354)|HEAP_ALLOCATE|[12]|Bytes:4 23:36:29.681 (686929646)|SYSTEM_CONSTRUCTOR_ENTRY|[12]|() 23:36:29.681 (686944265)|SYSTEM_CONSTRUCTOR_EXIT|[12]|() 23:36:29.681 (686949689)|VARIABLE_SCOPE_BEGIN|[12]|objectList|List|true|false 23:36:29.681 (686961154)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:4 23:36:29.681 (686971907)|VARIABLE_ASSIGNMENT|[12]|objectList|[]|0x69c1619c 23:36:29.681 (687042472)|SYSTEM_METHOD_ENTRY|[15]|List.iterator() 23:36:29.681 (687139031)|SYSTEM_METHOD_EXIT|[15]|List.iterator() 23:36:29.681 (687163822)|SYSTEM_METHOD_ENTRY|[15]|system.ListIterator.hasNext() 23:36:29.681 (687181068)|HEAP_ALLOCATE|[15]|Bytes:5 23:36:29.681 (687191373)|SYSTEM_METHOD_EXIT|[15]|system.ListIterator.hasNext() 23:36:29.681 (687205486)|HEAP_ALLOCATE|[15]|Bytes:16 23:36:29.681 (687215767)|VARIABLE_SCOPE_BEGIN|[15]|rra|roundRobinAssigner.RoundRobinAssignment|true|false 23:36:29.681 (687260758)|VARIABLE_ASSIGNMENT|[15]|rra|{"groupName":"DubaiTeam","recordId":"00Q1l000004HGvWEAW"}|0x3a9b4d0b 23:36:29.681 (687269337)|STATEMENT_EXECUTE|[15] 23:36:29.681 (687275813)|STATEMENT_EXECUTE|[17] 23:36:29.681 (687278575)|STATEMENT_EXECUTE|[18] 23:36:29.681 (687284032)|HEAP_ALLOCATE|[18]|Bytes:7 23:36:29.681 (687300343)|VARIABLE_ASSIGNMENT|[18]|this.fieldName|"OwnerId"|0x3a9b4d0b 23:36:29.681 (687307923)|STATEMENT_EXECUTE|[21] 23:36:29.681 (687321586)|HEAP_ALLOCATE|[21]|Bytes:4 23:36:29.681 (687349457)|SYSTEM_CONSTRUCTOR_ENTRY|[21]|() 23:36:29.681 (687362849)|SYSTEM_CONSTRUCTOR_EXIT|[21]|() 23:36:29.681 (687368366)|VARIABLE_SCOPE_BEGIN|[21]|groupUsers|List|true|false 23:36:29.681 (687378819)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:4 23:36:29.681 (687388870)|VARIABLE_ASSIGNMENT|[21]|groupUsers|[]|0x5d0e6960 23:36:29.681 (687422941)|SYSTEM_METHOD_ENTRY|[23]|Map<String,List>.get(Object) 23:36:29.681 (687444544)|SYSTEM_METHOD_EXIT|[23]|Map<String,List>.get(Object) 23:36:29.681 (687454135)|STATEMENT_EXECUTE|[23] 23:36:29.681 (687456917)|STATEMENT_EXECUTE|[24] 23:36:29.681 (687468818)|HEAP_ALLOCATE|[24]|Bytes:86 23:36:29.681 (687483573)|HEAP_ALLOCATE|[24]|Bytes:4 23:36:29.681 (688028993)|SOQL_EXECUTE_BEGIN|[24]|Aggregations:0|SELECT Group.Name, GroupId, UserOrGroupId FROM GroupMember WHERE Group.Name = :tmpVar1 23:36:29.681 (688047419)|LIMIT_USAGE|[24]|SOQL|5|100 23:36:29.681 (688062664)|LIMIT_USAGE|[24]|AGGS|0|300 23:36:29.681 (693779422)|SOQL_EXECUTE_END|[24]|Rows:0 23:36:29.681 (693805386)|LIMIT_USAGE|[24]|SOQL_ROWS|6|50000 23:36:29.681 (693835480)|HEAP_ALLOCATE|[24]|Bytes:4 23:36:29.681 (693883797)|HEAP_ALLOCATE|[24]|Bytes:0 23:36:29.681 (693945373)|HEAP_ALLOCATE|[24]|Bytes:4 23:36:29.681 (693989314)|VARIABLE_ASSIGNMENT|[24]|groupUsers|[]|0x3a5032c0 23:36:29.681 (694003623)|STATEMENT_EXECUTE|[26] 23:36:29.681 (694071821)|SYSTEM_METHOD_ENTRY|[26]|Map<String,List>.put(Object, Object) 23:36:29.681 (694106256)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:-4 23:36:29.681 (694126140)|SYSTEM_METHOD_EXIT|[26]|Map<String,List>.put(Object, Object) 23:36:29.681 (694139589)|STATEMENT_EXECUTE|[31] 23:36:29.681 (694178229)|SYSTEM_METHOD_ENTRY|[31]|Id.valueOf(String) 23:36:29.681 (694214068)|HEAP_ALLOCATE|[31]|Bytes:4 23:36:29.681 (694228077)|SYSTEM_METHOD_EXIT|[31]|Id.valueOf(String) 23:36:29.681 (694237323)|VARIABLE_SCOPE_BEGIN|[31]|rId|Id|false|false 23:36:29.681 (694499420)|VARIABLE_ASSIGNMENT|[31]|rId|"00Q1l000004HGvWEAW" 23:36:29.681 (694510986)|STATEMENT_EXECUTE|[32] 23:36:29.681 (694547933)|SYSTEM_METHOD_ENTRY|[32]|Id.getSobjectType(Id) 23:36:29.681 (694623706)|SYSTEM_METHOD_EXIT|[32]|Id.getSobjectType(Id) 23:36:29.681 (694652985)|SYSTEM_METHOD_ENTRY|[32]|Schema.SObjectType.getDescribe() 23:36:29.681 (694904184)|HEAP_ALLOCATE|[32]|Bytes:4 23:36:29.681 (694920417)|SYSTEM_METHOD_EXIT|[32]|Schema.SObjectType.getDescribe() 23:36:29.681 (694945225)|HEAP_ALLOCATE|[32]|Bytes:4 23:36:29.681 (694958499)|VARIABLE_SCOPE_BEGIN|[32]|Obj|String|false|false 23:36:29.681 (694988537)|VARIABLE_ASSIGNMENT|[32]|Obj|"Lead" 23:36:29.681 (694997761)|STATEMENT_EXECUTE|[34] 23:36:29.681 (695208109)|PUSH_TRACE_FLAGS|[34]|01p1l000000JcWK|roundRobinAssigner|APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER 23:36:29.681 (695317970)|METHOD_ENTRY|[34]|01p1l000000JcWK|roundRobinAssigner.recordMatcher(List, String, String, String) 23:36:29.681 (695362279)|VARIABLE_SCOPE_BEGIN|[82]|records|List|true|false 23:36:29.681 (695392374)|VARIABLE_ASSIGNMENT|[82]|records|"List of size 6 too large to display"|0x194ff790 23:36:29.681 (695404864)|VARIABLE_SCOPE_BEGIN|[82]|FieldName|String|false|false 23:36:29.681 (695423314)|VARIABLE_ASSIGNMENT|[82]|FieldName|"OwnerId" 23:36:29.681 (695432732)|VARIABLE_SCOPE_BEGIN|[82]|Obj|String|false|false 23:36:29.681 (695448207)|VARIABLE_ASSIGNMENT|[82]|Obj|"Lead" 23:36:29.681 (695454229)|VARIABLE_SCOPE_BEGIN|[82]|GroupName|String|false|false 23:36:29.681 (695477804)|VARIABLE_ASSIGNMENT|[82]|GroupName|"DubaiTeam" 23:36:29.681 (695500371)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (695513620)|STATEMENT_EXECUTE|[82] 23:36:29.681 (695669288)|SYSTEM_METHOD_ENTRY|[84]|List.iterator() 23:36:29.681 (695792986)|SYSTEM_METHOD_EXIT|[84]|List.iterator() 23:36:29.681 (695854556)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (695872960)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (695888394)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (695910758)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (695922785)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobinc|true|false 23:36:29.681 (695972457)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002HkihEAC","GroupNamec":"Nigeria","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":0}|0x446d189a 23:36:29.681 (695985459)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696105990)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696128341)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696147394)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696158688)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696174417)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (696183307)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobin__c|true|false 23:36:29.681 (696209590)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002Hg12EAC","GroupNamec":"Sales","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":0}|0x330529f7 23:36:29.681 (696217330)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696252157)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696266068)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696277612)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696286497)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696298510)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (696310744)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobinc|true|false 23:36:29.681 (696336188)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002HhRAEA0","GroupNamec":"Dubai","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":2}|0xd4b93f2 23:36:29.681 (696343636)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696368167)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696383269)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696394490)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696403440)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696415169)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (696424186)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobinc|true|false 23:36:29.681 (696456990)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002HfzKEAS","GroupNamec":"Round","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":1}|0x2f5c9050 23:36:29.681 (696472320)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696495499)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696506004)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696513681)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696523218)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696537927)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (696547916)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobin__c|true|false 23:36:29.681 (696576329)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002HhTmEAK","GroupNamec":"Beirut","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":1}|0x359e4e9 23:36:29.681 (696586448)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696614670)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696624747)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696632822)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696639462)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696647707)|HEAP_ALLOCATE|[84]|Bytes:24 23:36:29.681 (696654598)|VARIABLE_SCOPE_BEGIN|[84]|rr|RoundRobinc|true|false 23:36:29.681 (696682467)|VARIABLE_ASSIGNMENT|[84]|rr|{"Id":"a0I1l000002HhRFEA0","GroupNamec":"SalesGrabRest","FieldNamec":"OwnerId","Objectc":"Lead","IndexOfLastUsedc":1}|0x19893fe4 23:36:29.681 (696693675)|STATEMENT_EXECUTE|[84] 23:36:29.681 (696721455)|STATEMENT_EXECUTE|[85] 23:36:29.681 (696732870)|SYSTEM_METHOD_ENTRY|[84]|system.ListIterator.hasNext() 23:36:29.681 (696744340)|HEAP_ALLOCATE|[84]|Bytes:5 23:36:29.681 (696754403)|SYSTEM_METHOD_EXIT|[84]|system.ListIterator.hasNext() 23:36:29.681 (696766647)|VARIABLE_ASSIGNMENT|[84]|rr|null| 23:36:29.681 (696772967)|STATEMENT_EXECUTE|[91] 23:36:29.681 (696804591)|HEAP_ALLOCATE|[91]|Bytes:4 23:36:29.681 (696952300)|VARIABLE_SCOPE_BEGIN|[91]|rrNew|RoundRobinc|true|false 23:36:29.681 (696982236)|VARIABLE_ASSIGNMENT|[91]|rrNew|{}|0x71b3d285 23:36:29.681 (696992556)|STATEMENT_EXECUTE|[92] 23:36:29.681 (697108768)|VARIABLE_ASSIGNMENT|[92]|this.FieldNamec|"OwnerId"|0x71b3d285 23:36:29.681 (697122130)|STATEMENT_EXECUTE|[93] 23:36:29.681 (697171938)|VARIABLE_ASSIGNMENT|[93]|this.Objectc|"Lead"|0x71b3d285 23:36:29.681 (697180775)|STATEMENT_EXECUTE|[94] 23:36:29.681 (697207006)|VARIABLE_ASSIGNMENT|[94]|this.GroupName__c|"DubaiTeam"|0x71b3d285 23:36:29.681 (697213890)|STATEMENT_EXECUTE|[96] 23:36:29.681 (697219897)|HEAP_ALLOCATE|[96]|Bytes:1 23:36:29.681 (697244303)|HEAP_ALLOCATE|[96]|Bytes:22 23:36:29.681 (697318110)|VARIABLE_ASSIGNMENT|[96]|this.Name|"Lead-OwnerId-DubaiTe (2 more) ..."|0x71b3d285 23:36:29.681 (697326342)|STATEMENT_EXECUTE|[97] 23:36:29.681 (697357668)|HEAP_ALLOCATE|[97]|Bytes:8 23:36:29.681 (697378741)|DML_BEGIN|[97]|Op:Insert|Type:RoundRobinc|Rows:1 23:36:29.681 (697398530)|LIMIT_USAGE|[97]|DML|1|150 23:36:29.681 (697414020)|LIMIT_USAGE|[97]|DML_ROWS|1|10000 23:36:29.681 (697434167)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8 23:36:29.681 (742343847)|DML_END|[97] 23:36:29.681 (742385633)|STATEMENT_EXECUTE|[98] 23:36:29.681 (742410083)|METHOD_EXIT|[34]|01p1l000000JcWK|roundRobinAssigner.recordMatcher(List, String, String, String) 23:36:29.681 (742660786)|POP_TRACE_FLAGS|[34]|01p1l000000JcWK|roundRobinAssigner|APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER 23:36:29.681 (742740142)|VARIABLE_SCOPE_BEGIN|[34]|matchingRR|RoundRobinc|true|false 23:36:29.681 (742807120)|VARIABLE_ASSIGNMENT|[34]|matchingRR|{"FieldNamec":"OwnerId","Objectc":"Lead","GroupName__c":"DubaiTeam","Name":"Lead-OwnerId-DubaiTe (2 more) ...","Id":"a0I1l000002Hlk8EAC"}|0x71b3d285 23:36:29.681 (742819422)|STATEMENT_EXECUTE|[37] 23:36:29.681 (742891539)|SYSTEM_METHOD_ENTRY|[37]|Id.getSobjectType(Id) 23:36:29.681 (742998765)|SYSTEM_METHOD_EXIT|[37]|Id.getSobjectType(Id) 23:36:29.681 (743082220)|SYSTEM_METHOD_ENTRY|[37]|Schema.SObjectType.newSObject(Id) 23:36:29.681 (743136784)|HEAP_ALLOCATE|[37]|Bytes:8 23:36:29.681 (743161933)|SYSTEM_METHOD_EXIT|[37]|Schema.SObjectType.newSObject(Id) 23:36:29.681 (743202757)|VARIABLE_SCOPE_BEGIN|[37]|so|SObject|true|false 23:36:29.681 (743227855)|VARIABLE_ASSIGNMENT|[37]|so|{"Id":"00Q1l000004HGvWEAW"}|0xd8658b9 23:36:29.681 (743235334)|STATEMENT_EXECUTE|[38] 23:36:29.681 (743367801)|PUSH_TRACE_FLAGS|[38]|01p1l000000JcWK|roundRobinAssigner|APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER 23:36:29.681 (743424139)|METHOD_ENTRY|[38]|01p1l000000JcWK|roundRobinAssigner.getNextIndex(RoundRobinc, List) 23:36:29.681 (743467000)|VARIABLE_SCOPE_BEGIN|[68]|match|RoundRobinc|true|false 23:36:29.681 (743505882)|VARIABLE_ASSIGNMENT|[68]|match|{"FieldNamec":"OwnerId","Objectc":"Lead","GroupName__c":"DubaiTeam","Name":"Lead-OwnerId-DubaiTe (2 more) ...","Id":"a0I1l000002Hlk8EAC"}|0x71b3d285 23:36:29.681 (743518748)|VARIABLE_SCOPE_BEGIN|[68]|groupUsers|List|true|false 23:36:29.681 (743545490)|VARIABLE_ASSIGNMENT|[68]|groupUsers|[]|0x3a5032c0 23:36:29.681 (743575287)|HEAP_ALLOCATE|[69]|Bytes:5 23:36:29.681 (743586057)|STATEMENT_EXECUTE|[68] 23:36:29.681 (743598678)|STATEMENT_EXECUTE|[69] 23:36:29.681 (743602537)|STATEMENT_EXECUTE|[71] 23:36:29.681 (743608956)|HEAP_ALLOCATE|[71]|Bytes:4 23:36:29.681 (743631579)|METHOD_EXIT|[38]|01p1l000000JcWK|roundRobinAssigner.getNextIndex(RoundRobinc, List) 23:36:29.681 (743758692)|POP_TRACE_FLAGS|[38]|01p1l000000JcWK|roundRobinAssigner|APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,FINE;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,FINEST;WORKFLOW,FINER 23:36:29.681 (743799506)|VARIABLE_SCOPE_BEGIN|[38]|nextIndex|Integer|false|false 23:36:29.681 (743812014)|HEAP_ALLOCATE|[38]|Bytes:4 23:36:29.681 (743828431)|VARIABLE_ASSIGNMENT|[38]|nextIndex|0 23:36:29.681 (743836556)|STATEMENT_EXECUTE|[39] 23:36:29.681 (743938355)|HEAP_ALLOCATE|[39]|Bytes:31 23:36:29.681 (743958321)|SYSTEM_MODE_EXIT|true 23:36:29.681 (744549130)|FATAL_ERROR|System.ListException: List index out of bounds: 0

Class.roundRobinAssigner.assign: line 39, column 1 23:36:29.681 (744575382)|FATAL_ERROR|System.ListException: List index out of bounds: 0

Class.roundRobinAssigner.assign: line 39, column 1 23:36:29.744 (744582818)|CUMULATIVE_LIMIT_USAGE 23:36:29.744 (744582818)|LIMIT_USAGE_FOR_NS|(default)| Number of SOQL queries: 5 out of 100 Number of query rows: 6 out of 50000 Number of SOSL queries: 0 out of 20 Number of DML statements: 1 out of 150 Number of DML rows: 1 out of 10000 Maximum CPU time: 5 out of 10000 Maximum heap size: 0 out of 6000000 Number of callouts: 0 out of 100 Number of Email Invocations: 0 out of 10 Number of future calls: 0 out of 50 Number of queueable jobs added to the queue: 0 out of 50 Number of Mobile Apex push calls: 0 out of 10

lebinfo commented 4 years ago

It is reaching DubaiTeam which is the group after the condition with the picklist but not creating any leads

lebinfo commented 4 years ago

Btw I am using process builder and anything else is working great just a condition on any picklist field is causing this error Class.roundRobinAssigner.assign: line 39, column 1 23:36:29.681 (744575382)|FATAL_ERROR|System.ListException: List index out of bounds: 0

mshanemc commented 4 years ago

There are no group members being returned in this section:

23:36:29.681 (688028993)|SOQL_EXECUTE_BEGIN|[24]|Aggregations:0|SELECT Group.Name, GroupId, UserOrGroupId FROM GroupMember WHERE Group.Name = :tmpVar1 23:36:29.681 (688047419)|LIMIT_USAGE|[24]|SOQL|5|100 23:36:29.681 (688062664)|LIMIT_USAGE|[24]|AGGS|0|300 23:36:29.681 (693779422)|SOQL_EXECUTE_END|[24]|Rows:0

Can you confirm that

  1. the group name (on the group) matches what's stored in the custom setting's group field?
  2. the group has members
lebinfo commented 4 years ago

Hi, Sorry I was using the Group name and not Group label what i did was use same name in both and used underscore instead of spaces and that worked.

Thank you.

lebinfo commented 4 years ago

I also had 2 groups where inside it are not users just another 2 groups. So I just added the names again. Now it works great.

Thank You.

mshanemc commented 4 years ago

Good to know! Thanks for the feedback

On May 11, 2020, at 2:49 PM, lebinfo notifications@github.com wrote:

 I also had 2 groups where inside it are not users just another 2 groups. So I just added the names again. Now it works great.

Thank You.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.