elasticio / salesforce-component

elastic.io component that connects to Salesforce API (node.js)
Apache License 2.0
3 stars 7 forks source link

'Lookup Objects' action emits one more message than it should #101

Open stas-fomenko opened 4 years ago

stas-fomenko commented 4 years ago

Description: In case when Output method: Emit individually it emits message with an array that includes all objects that were emitted individually. It also emits +1 msg for all Output method options. Preconditions: use creds from bitwarden STR: 1. Create flow: step1 - simple trigger 2. Add step2 - salesforce-component - Lookup Objects 3. Input for 'Lookup Objects':

Object: Account 
Output method: Emit individually
Number of search terms: 0 

all other fields - default

4. Set step3 - COde component with input:

// Please note only Node.js code is supported here
async function run(msg, cfg, snapshot) {
    this.logger.info('Incoming message is %s', JSON.stringify(msg));
    const body = { result : msg };
    // You can emit as many data messages as required
    await this.emit('data', { body });
    this.logger.info('Execution finished');
}

5. Start flow and see logs for Code component

AR:

  1. 28 messages are emitted
  2. Message with an array that includes all objects that were emitted individually is emitted
Message Incoming message is [{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026chbJQAQ"},"Id":"0012R000026chbJQAQ","IsDeleted":false,"MasterRecordId":null,"Name":"Deutsche Bank","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.deutschebank.com","PhotoUrl":"/services/images/photo/0012R000026chbJQAQ","Sic":null,"Industry":null,"AnnualRevenue":26000000000,"NumberOfEmployees":97000,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-20T14:45:35.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-20T14:45:35.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-20T14:45:35.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26675"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026ccTZQAY"},"Id":"0012R000026ccTZQAY","IsDeleted":false,"MasterRecordId":null,"Name":"Deutsche Bank","Type":null,"ParentId":null,"BillingStreet":"Taunusanlage 12","BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":"Germany","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":null,"country":"Germany","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":"Taunusanlage 12"},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.deutschebank.com","PhotoUrl":"/services/images/photo/0012R000026ccTZQAY","Sic":null,"Industry":null,"AnnualRevenue":26000000000,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-17T12:14:25.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-17T12:14:25.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-17T12:14:25.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26673"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R00002745CFQAY"},"Id":"0012R00002745CFQAY","IsDeleted":false,"MasterRecordId":null,"Name":"Deutsche Bank","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":"Frankfurt","ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Frankfurt","country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":null},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0012R00002745CFQAY","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-11-20T10:43:24.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-11-20T10:43:24.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-11-20T10:43:24.000+0000","LastActivityDate":null,"LastViewedDate":"2019-11-20T10:43:24.000+0000","LastReferencedDate":"2019-11-20T10:43:24.000+0000","Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26676"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026cVtwQAE"},"Id":"0012R000026cVtwQAE","IsDeleted":false,"MasterRecordId":null,"Name":"Melitta Group Management GmbH & Co. KG","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":"Minden","BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Minden","country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":null},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.melitta.com","PhotoUrl":"/services/images/photo/0012R000026cVtwQAE","Sic":null,"Industry":null,"AnnualRevenue":1325000000,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":"Melitta is a Germany-based company selling coffee, paper coffee filters, and coffee makers, part of the Melitta Group, which also has Melitta branches in other countries world-wide. The company is headquartered in Minden, North Rhine-Westphalia.","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-13T00:01:48.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-13T00:01:48.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-13T00:01:48.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26669"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026cVu1QAE"},"Id":"0012R000026cVu1QAE","IsDeleted":false,"MasterRecordId":null,"Name":"Dr. Oetker GmbH","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":"Bielfeld","BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Bielfeld","country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":null},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.oetker.com","PhotoUrl":"/services/images/photo/0012R000026cVu1QAE","Sic":null,"Industry":null,"AnnualRevenue":10000000000,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":"Dr. Oetker GmbH, through its subsidiaries, produces and markets baking mixtures. The company offers baking products, baking mixtures, dessert powders, chilled ready desserts, yoghurt products, muesli, frozen pizzas, and snacks. The company is based in Bielefeld, Germany. Dr. Oetker GmbH operates as a subsidiary of Dr. August Oetker KG.","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-13T00:01:49.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-13T00:01:49.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-13T00:01:49.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26670"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026cVu6QAE"},"Id":"0012R000026cVu6QAE","IsDeleted":false,"MasterRecordId":null,"Name":"Starbucks Corporation","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":"Seattle","BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Seattle","country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":null},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.starbucks.com","PhotoUrl":"/services/images/photo/0012R000026cVu6QAE","Sic":null,"Industry":null,"AnnualRevenue":0,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":"Starbucks Corporation, together with its subsidiaries, operates as a roaster, marketer, and retailer of specialty coffee worldwide. The company operates in four segments: Americas; China/Asia Pacific; Europe, Middle East, and Africa; and Channel Development. Its stores offer coffee and tea beverages, roasted whole bean and ground coffees, single-serve and ready-to-drink coffee and tea products, and food and snacks; and various food products, such as pastries, breakfast sandwiches, and lunch items. The company also licenses its trademarks through licensed stores, and grocery and foodservice accounts. It offers its products under the Starbucks, Teavana,","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-13T00:01:50.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-13T00:01:50.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-13T00:01:50.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26671"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026b7WGQAY"},"Id":"0012R000026b7WGQAY","IsDeleted":false,"MasterRecordId":null,"Name":"John","Type":null,"ParentId":null,"BillingStreet":"John","BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":null,"country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":"John"},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0012R000026b7WGQAY","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":"John","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-08-09T10:49:53.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-08-09T10:49:53.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-08-09T10:49:53.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"10388"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026cVuBQAU"},"Id":"0012R000026cVuBQAU","IsDeleted":false,"MasterRecordId":null,"Name":"audibene GmbH","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":"Berlin","BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Berlin","country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":null},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.audibene.de","PhotoUrl":"/services/images/photo/0012R000026cVuBQAU","Sic":null,"Industry":null,"AnnualRevenue":0,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":"audibene ist mit über 800.000 Hörgeräte-Beratungen im Jahr die weltweit größte Anlaufstelle für Hörverlust und Hörgeräte. In mehr als neun Ländern versorgen wir Sie mit optimalen Lösungen für Ihre Hörbedürfnisse. Wir bieten Ihnen eine kostenfreie Experten-Beratung am Telefon und das Testen der neuesten Hörgeräte bei Ihnen vor Ort.\n\nUnser Team aus Hörgeräte-Experten und erfahrenen Akustikern unterstützt Sie dabei, das Hörgerät zu finden, das perfekt zu Ihrer Hörsituation und zu Ihrem Lebensstil passt. In Deutschland arbeiten wir mit über 1.000 der besten Akustiker zusammen und garantieren Ihnen so die professionelle Anpassung Ihrer Hörgeräte ganz in Ihrer Nähe.\n\nDabei sind wir nicht nur Experte, was die Herausforderungen von Hörverlust angeht. Wir bieten Ihnen auch die neuesten Hörgeräte aller führenden Marken an. Durch unsere Zusammenarbeit mit allen namhaften Hörgeräte-Herstellern haben wir Zugriff auf rund 1.000 Hörgeräte am Markt und finden so für jeden Hörverlust die beste Lösung.","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-13T00:01:51.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-13T00:01:51.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-13T00:01:51.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26672"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001rPkzJAAS"},"Id":"0014400001rPkzJAAS","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001rPkzJAAS","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-12-11T15:38:42.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-12-11T15:38:42.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-12-13T03:30:36.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"29"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R000026cdWBQAY"},"Id":"0012R000026cdWBQAY","IsDeleted":false,"MasterRecordId":null,"Name":"Deutsche Bank","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":"Taunusanlage 12","ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":null,"country":null,"geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":null,"street":"Taunusanlage 12"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0012R000026cdWBQAY","Sic":null,"Industry":null,"AnnualRevenue":26000000000,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-09-18T15:20:31.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-09-18T15:20:31.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-09-18T15:20:31.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26674"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0012R0000275Cp1QAE"},"Id":"0012R0000275Cp1QAE","IsDeleted":false,"MasterRecordId":null,"Name":"Deutsche Bank","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.deutschebank.com","PhotoUrl":"/services/images/photo/0012R0000275Cp1QAE","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2019-12-31T15:12:24.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2019-12-31T15:12:24.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2019-12-31T15:12:24.000+0000","LastActivityDate":null,"LastViewedDate":"2019-12-31T15:12:24.000+0000","LastReferencedDate":"2019-12-31T15:12:24.000+0000","Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"26677"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQRqAAM"},"Id":"0014400001ytQRqAAM","IsDeleted":false,"MasterRecordId":null,"Name":"GarryAcc","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQRqAAM","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T08:21:39.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-13T08:21:39.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-13T08:21:39.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"80"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQkRAAU"},"Id":"0014400001ytQkRAAU","IsDeleted":false,"MasterRecordId":null,"Name":"NewTestAccount1","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"123465856","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQkRAAU","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T09:02:51.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-13T09:02:51.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-13T09:02:51.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"83"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001rQVh3AAG"},"Id":"0014400001rQVh3AAG","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001rQVh3AAG","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-12-18T11:35:59.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-12-18T11:35:59.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-12-18T11:40:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"31"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001qmQYrAAM"},"Id":"0014400001qmQYrAAM","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001qmQYrAAM","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-11-26T21:40:00.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-11-26T21:40:00.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-11-27T11:39:35.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"20"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001rPkudAAC"},"Id":"0014400001rPkudAAC","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001rPkudAAC","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-12-11T15:20:48.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-12-11T15:20:48.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-12-12T01:41:45.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"28"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001rP91TAAS"},"Id":"0014400001rP91TAAS","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001rP91TAAS","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-12-05T13:48:27.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-12-05T13:48:27.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-12-06T01:45:20.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"27"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001qmSjWAAU"},"Id":"0014400001qmSjWAAU","IsDeleted":false,"MasterRecordId":null,"Name":"The Cannon Group PLC","Type":"Customer - Direct","ParentId":null,"BillingStreet":"192 Market Square","BillingCity":"Birmingham","BillingState":null,"BillingPostalCode":"B27 4KT","BillingCountry":"GB","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"ShippingStreet":"192 Market Square","ShippingCity":"Birmingham","ShippingState":null,"ShippingPostalCode":"B27 4KT","ShippingCountry":"GB","ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":{"city":"Birmingham","country":"GB","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":"B27 4KT","state":null,"street":"192 Market Square"},"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001qmSjWAAU","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-11-27T09:33:03.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-11-27T09:33:03.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2017-11-29T01:40:05.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":"Web","SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":"Yes","NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"21"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001qm3gaAAA"},"Id":"0014400001qm3gaAAA","IsDeleted":false,"MasterRecordId":null,"Name":"Jacob Sample Account","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001qm3gaAAA","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2017-11-21T16:17:09.000+0000","CreatedById":"005E0000002CozkIAC","LastModifiedDate":"2017-11-21T16:17:09.000+0000","LastModifiedById":"005E0000002CozkIAC","SystemModstamp":"2018-04-25T02:35:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"19"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001tea1SAAQ"},"Id":"0014400001tea1SAAQ","IsDeleted":false,"MasterRecordId":null,"Name":"White House","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"+123456789","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001tea1SAAQ","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-03-29T11:20:08.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-03-29T11:20:08.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-03-31T00:44:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"36"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001teZzRAAU"},"Id":"0014400001teZzRAAU","IsDeleted":false,"MasterRecordId":null,"Name":"GarryInc","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001teZzRAAU","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":"https://garry.io","OwnerId":"005440000092zqdAAA","CreatedDate":"2018-03-29T10:16:36.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-03-29T10:16:36.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-03-31T00:44:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"35"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001tdeghAAA"},"Id":"0014400001tdeghAAA","IsDeleted":false,"MasterRecordId":null,"Name":"Name changed","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.elastic.io","PhotoUrl":"/services/images/photo/0014400001tdeghAAA","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2018-03-20T15:50:54.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-03-29T09:15:04.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-03-31T00:44:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"34"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001tea63AAA"},"Id":"0014400001tea63AAA","IsDeleted":false,"MasterRecordId":null,"Name":"White House","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001tea63AAA","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-03-29T12:17:05.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-03-29T12:17:05.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-03-31T00:44:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"37"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001tdeaPAAQ"},"Id":"0014400001tdeaPAAQ","IsDeleted":false,"MasterRecordId":null,"Name":"New! elastic.io GmbH","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":null,"Fax":null,"AccountNumber":null,"Website":"www.elastic.io","PhotoUrl":"/services/images/photo/0014400001tdeaPAAQ","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005E0000002CozkIAC","CreatedDate":"2018-03-20T15:39:00.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-03-20T15:39:00.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-03-31T00:44:23.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"32"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001wWXaPAAW"},"Id":"0014400001wWXaPAAW","IsDeleted":false,"MasterRecordId":null,"Name":"NickCompany","Type":null,"ParentId":null,"BillingStreet":"Wanheimer Straße 66","BillingCity":"Düsseldorf","BillingState":"NRW","BillingPostalCode":null,"BillingCountry":"Germany","BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":{"city":"Düsseldorf","country":"Germany","geocodeAccuracy":null,"latitude":null,"longitude":null,"postalCode":null,"state":"NRW","street":"Wanheimer Straße 66"},"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"0211 78 17 80-0","Fax":null,"AccountNumber":null,"Website":"www.mvise.de","PhotoUrl":"/services/images/photo/0014400001wWXaPAAW","Sic":null,"Industry":null,"AnnualRevenue":0,"NumberOfEmployees":200,"Ownership":null,"TickerSymbol":null,"Description":"Die mVISE AG beschleunigt die digitale Transformation und Integration mit IT Consulting Services, Produkten und kundenspezifischer Software. Dabei liegen die Kernkompetenzen in den Bereichen Mobile- und Cloud Computing, IT-Infrastrukturen und Security sowie Integration und Auswertung von komplexen Daten.\r\n mVISE realisiert Digitalisierungsprojekte gemeinsam mit den Kunden – von der Konzeptphase über die Entwicklung und Implementierung bis hin zu Managed Services. Cloud-Produkte wie die iPaaS-Plattform elastic.io beschleunigen Integrationsaufgaben. Für die Digitalisierung von Vertriebsprozessen bietet mVISE mit SaleSphere eine integrierte Lösung.","Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-08-10T12:37:13.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-12T15:38:32.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-12T15:38:32.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":3,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"77"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQV7AAM"},"Id":"0014400001ytQV7AAM","IsDeleted":false,"MasterRecordId":null,"Name":"Test2","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"234564324376","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQV7AAM","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T08:31:40.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-13T08:31:40.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-13T08:31:40.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"82"},{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQUJAA2"},"Id":"0014400001ytQUJAA2","IsDeleted":false,"MasterRecordId":null,"Name":"ElasticTestAccount","Type":"Customer - Direct","ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"123456788888","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQUJAA2","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":"Hot","Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T08:28:47.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-11-15T14:06:47.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-11-15T14:06:47.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":"7052","Auto_Number_test_field__c":"81"}] processMessage emit end was called more than once

ER: Number of the emitted message matches with the actual number of found objects in salesforce (accounts): 27 messages emitted, each message includes one account Message example:

Message Incoming message is {"id":"cd5a8c11-a6b1-4181-af5a-08d705c13af7","attachments":{},"body":{"results":[{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQV7AAM"},"Id":"0014400001ytQV7AAM","IsDeleted":false,"MasterRecordId":null,"Name":"Test2","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"234564324376","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQV7AAM","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T08:31:40.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-13T08:31:40.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-13T08:31:40.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"82"}]},"headers":{},"metadata":{},"passthrough":{"step_1":{"id":"72c1f3ab-e0ff-4bb9-899a-063766201ba2","attachments":{},"body":{"fireTime":"2020-01-06T10:43:09.784Z","lastPoll":"2020-01-06T10:40:03.080Z"},"headers":{},"metadata":{}},"step_3":{"id":"cd5a8c11-a6b1-4181-af5a-08d705c13af7","attachments":{},"body":{"results":[{"attributes":{"type":"Account","url":"/services/data/v46.0/sobjects/Account/0014400001ytQV7AAM"},"Id":"0014400001ytQV7AAM","IsDeleted":false,"MasterRecordId":null,"Name":"Test2","Type":null,"ParentId":null,"BillingStreet":null,"BillingCity":null,"BillingState":null,"BillingPostalCode":null,"BillingCountry":null,"BillingLatitude":null,"BillingLongitude":null,"BillingGeocodeAccuracy":null,"BillingAddress":null,"ShippingStreet":null,"ShippingCity":null,"ShippingState":null,"ShippingPostalCode":null,"ShippingCountry":null,"ShippingLatitude":null,"ShippingLongitude":null,"ShippingGeocodeAccuracy":null,"ShippingAddress":null,"Phone":"234564324376","Fax":null,"AccountNumber":null,"Website":null,"PhotoUrl":"/services/images/photo/0014400001ytQV7AAM","Sic":null,"Industry":null,"AnnualRevenue":null,"NumberOfEmployees":null,"Ownership":null,"TickerSymbol":null,"Description":null,"Rating":null,"Site":null,"OwnerId":"005440000092zqdAAA","CreatedDate":"2018-09-13T08:31:40.000+0000","CreatedById":"005440000092zqdAAA","LastModifiedDate":"2018-09-13T08:31:40.000+0000","LastModifiedById":"005440000092zqdAAA","SystemModstamp":"2018-09-13T08:31:40.000+0000","LastActivityDate":null,"LastViewedDate":null,"LastReferencedDate":null,"Jigsaw":null,"JigsawCompanyId":null,"AccountSource":null,"SicDesc":null,"CustomerPriority__c":null,"SLA__c":null,"Active__c":null,"NumberofLocations__c":null,"UpsellOpportunity__c":null,"SLASerialNumber__c":null,"SLAExpirationDate__c":null,"External_ID__c":null,"Auto_Number_test_field__c":"82"}]},"headers":{},"metadata":{}}}} [2020-01-06 12:43:14.076]: Execution finished