Title: Arbitrary object sync
Last modified: October 5, 2021

---

# Arbitrary object sync

 *  Resolved [katjavolker](https://wordpress.org/support/users/katjavolker/)
 * (@katjavolker)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/)
 * Hey again Jonathan.
 * I was wondering if you could provide a clue on what is happening with our sync.
   
   We have several custom fields in Salesforce which are mapped to custom fields
   in WordPress. Most of the time the sync is working as expected oter times it 
   does not.
 * The object gets synced to WordPress products (one way only). Things should automatically
   get updated on our website when any change happens for the provided fields set
   up in the field-map.
 * Often we have to update quite a bunch of rentals and I thought that this might
   slow the sync process which would be obvious. But some of the items never make
   it to the backend, or if already existing, won’t get updated.
 * Do you know what I could do to make the sync more reliable? Customer service 
   needs to be able to trust that their updates are reflected on our website without
   them having to check it after each action they did in SF.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14939497)
 * I don’t think I can speak to that. I would suggest turning on debug mode and 
   checking to see what kind of log entries it creates.
 *  Thread Starter [katjavolker](https://wordpress.org/support/users/katjavolker/)
 * (@katjavolker)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14942055)
 * I have turned on the log settings for errors. Should I choose to log all triggers
   or just salesforce related? Or do you mean turning on the debug mode as well?
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14943507)
 * I think that depends on what you need to learn. I think I would suggest that 
   you turn on debug mode because it sounds like you want to know exactly what the
   plugin is doing, and that is really the only way to learn that. It will log things
   like when it’s checking for updated data, the SOQL query that it’s sending to
   Salesforce each time (so you could run the query in the Salesforce developer 
   console, for example) and it will log when it does things with any Salesforce
   records that it finds.
 * I think it’s fine to choose all of the Salesforce triggers unless you’re also
   pushing data from WordPress to Salesforce, but your question to me suggests that
   you should try debug mode in addition to that.
 *  Thread Starter [katjavolker](https://wordpress.org/support/users/katjavolker/)
 * (@katjavolker)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14946304)
 * Thank you Jonathan, I will try that. Though, the debug mode is not recommended
   for production. I do have a staging site but I don’t think it will help me a 
   lot as the callback URL is different.
 * Would I be able to enable debug just for a little while without crashing the 
   server?
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14947607)
 * Well, it’s certainly true that I don’t recommend using it in production. That’s
   because it _can_ create a lot of log entries if your site is dealing with a lot
   of Salesforce records, and combined with the site traffic, if there’s a lot of
   normal traffic, that can be a load on your server’s resources. But again that
   depends on how much traffic there is and how much Salesforce data there is and
   how much capacity your server has, and I wouldn’t try to speak to any of that.
 * So I do think you can try it in staging, but I don’t think that will give you
   the information you really need here, so I do think you can turn it on in production
   for a little while and then turn it off.
 *  Thread Starter [katjavolker](https://wordpress.org/support/users/katjavolker/)
 * (@katjavolker)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14947621)
 * Great, thanks for your input. I might try it over night then.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Arbitrary object sync’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [katjavolker](https://wordpress.org/support/users/katjavolker/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/arbitrary-object-sync/#post-14947621)
 * Status: resolved