06-19-2018 10:17 AM
I was doing some testing of a basic pipeline involving a Mapper → Salesforce Read Snap → Mapper and found that the Salesforce Read snap returns multiple documents, one per returned result. Is that expected behavior? As my pipeline output, I need to return the number of results and an array with the Salesforce object ids of the returned objects. I’ve found that to be able to retrieve this data I need to use add a Group By N snap (group size= 0) before my Mapper snap to merge the results into a single document. This seems a bit odd to me: I would have expected a single document containing a JSON array with all the results…