Good day to everyone! I wonder is it possible to make UpdateSingleSalesforceObject of custom object, where Id is in the field with DataType Lookup(Contact)? Thank you in advance and have a nice day!
Yes, it should be possible but might depend on your implementation approach. Just go through the
UpdateSingleSalesforceObject guideline to make sure you would build the correct function and remember couple more points:
- Include all mandatory fields for the update
- If you have to include Date datatype fields, you would need to convert it to the correct format -
SET @time = FormatDate(Now(), "iso")
- Certain Salesforce objects enforce record-locking when a record is modified, to ensure the referential integrity of data. This applies to records that have a relationship to lookup records in a different object. If the function is used to asynchronously update multiple records (for example, the function is included in an email) and the object has lock contention, the records may fail to update.