• Resolved Sarah Tebo

    (@sarahtebo)


    I’m sure this is some setting I just need to get right, but I can’t for the life of me figure it out. The integration is pulling in new records just fine, but for some reason when records are updated in Salesforce, a new draft is being created in WordPress rather than updating the existing record. I have set a prematch field, and in the logs, the action is referred to as upserting, not creating. Any ideas why that could be happening?

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @sarahtebo could you try turning on debug mode? It will create a lot of log entries, so you don’t want to leave it on for too long, but this way you can see what Salesforce API queries it is running. This could be a good way to see if it’s running a query different than you expect.

    The prematch field is intended to match against records that already exist. For example, if I have a Salesforce contact with a certain email address, and then someone creates a WordPress user record with that same email address. I’m not sure the prematch will help you in this case. But I’m also not sure why it would be failing to update records that were already created via the plugin, in your case.

Viewing 1 replies (of 1 total)
  • The topic ‘New drafts being created rather than updating existing’ is closed to new replies.