Salesforce: Issue with mapping and upserting a nested object using Salesforce adaptor #556
Labels
adaptor
Related to one of the adaptors
bug
Something isn't working
User Reported
Issues from user reported bugs
Mapping for an object using the Salesforce adaptor that has a relationship with another object(
Openfn_Project__r
) no longer works as per below:'OpenFn_Project__r.Metrics_ID__c': 'id_value'
Getting the following error when doing the mapping like the above and using the upsert function from the salesforce adaptor
I tried using both the bulk function(failed job code and job run using bulk function with dot operator for the mapping) and the upsert function([failed job code and job run using upsert function with dot operator for mapping).
The above method of mapping seems to be working in this project(checkout this blob)
Here is a successful job that is using the following format for mapping nested objects:
OpenFn_Project__r: { Metrics_ID__c: 'id_value' }
The text was updated successfully, but these errors were encountered: