Magidoc

SalesforceOperationResult
Object

Unified result type for all Salesforce operations. Fields are populated based on the operation type.

Fields

#

success

Non-null

Whether the operation succeeded

errors

Error messages if the operation failed

done

Whether all records have been returned (QUERY)

totalSize

Total number of records matching the query (QUERY)

nextRecordsUrl

URL to fetch next page of results (QUERY)

records

Query result records (QUERY)

searchRecords

Search results grouped by sObject type (SEARCH)

id

ID of the created/updated record (INSERT/UPDATE/UPSERT)

mergedRecordId

ID of the master record after merge (MERGE)

mergedRecordIds

IDs of the records that were merged and deleted (MERGE)

metadata

Object metadata including fields, relationships, etc. (DESCRIBE)

convertedAccountId

ID of the Account created or merged into (CONVERT_LEAD)

convertedContactId

ID of the Contact created or merged into (CONVERT_LEAD)

convertedOpportunityId

ID of the Opportunity created (CONVERT_LEAD, if not skipped)

Usages

#

References

#