Troubleshooting
Problem
The problem is related to the Query Objects activity of the Salesforce connector of Cast Iron. When you specify a query in the following format : select Account.Name from Contact Salesforce returns the Contact objects; whereas, the Map Input schema in Cast Iron Studio displays AggregateResult. This happens only for queries that fetch fields from objects that are not specified in the 'from' clause.
Resolving The Problem
To resolve this issue, specify the query as:
select Account.Name, Id from Contact.
This means that at least one field from the object specified in the 'from' clause must be selected.
This ensures that the Map Inputs schema contains the Contact objects, and not the aggregate results.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21656795