Hello!

i'm doing one verification in the object of salesforce that allow know if one record exist, if one record exists in SF this record is updated in SF and is created in Drupal.
But the hook that allows this no it work. I was doing a simple test, but was no succesful.

CODE:

function verify_user_salesforce_pull_entity_presave($entity, $sf_object, $sf_mapping) {
{
dpm($entity);
}

Does anyone have a solution?
Does anyone know why it is not activated?

Attached of my module for verify users existing in SF.

Thanks.

CommentFileSizeAuthor
#2 verify_user.zip2.08 KBejisselgb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ejisselgb created an issue. See original summary.

ejisselgb’s picture

Issue summary: View changes
FileSize
2.08 KB
asherry’s picture

The salesforce_pull module that implements salesforce_pull_entity_presave is for when Salesforce objects are synced to Drupal, and it happens during cron. I'm not following what the salesforce_pull module has to do with the module code that you submitted?

What is the code you have that leads you to believe that the salesforce_pull_entity_presave hook isn't working?