• leadliaison
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 7
    Replies
Hello,

We are getting the error below when making the API call below. This seems to be happening because of the built-in dedupe logic in Salesforce.com (see screenshot). Can anyone tell me why the deduplicate logic is causing this API error? The lead/contact did not previously exist. 

API Error:
stdClass Object
(
    [errors] => stdClass Object
        (
            [fields] =>
            [message] => You are possibly creating a duplicate record. Please see Mike to verify lead status.
            [statusCode] => UNKNOWN_EXCEPTION
        )

    [id] =>
    [success] =>
)
 
Here is the call we are sending to the SFDC API:
 
$crmConn = new SforcePartnerClient ();
$this->crmConn->create ( $sObjects, 'Lead' );
 
Where the $sObjects we used was as following:
 
Array
(
    [0] => SObject Object
        (
            [type] => Lead
            [fields] => Array
                (
                    [Phone] => 207-588-1019
                    [FirstName] => Patti
                    [LastName] => Sutter
                    [Email] => psutter@mainetechnology.org
                    [Company] => Maine Technology Institute
                    [Country] => United States
                    [City] => Brunswick
                    [State] => Maine
                    [PostalCode] => 04011
                    [LeadSource] => Organic Search (SEO)
                    [Leadliaison__LLLastSearchEngine__c] => google
                    [Leadliaison__LLLeadLiaisonGrade__c] => C
                    [Leadliaison__LLLeadLiaisonScore__c] => 68
                    [OwnerId] => 00561000000vDYfAAM
                )
        )
 
)

Here are the duplicate lead settings in the instance:
Dedupe Settings

Hello,

 

Could someone help me implement a workflow rule that will send an email to a Lead/Contact based on the "Birthdate" standard field? We'd like to send them an email the day before their birthday if possible. We're fairly new to formulas so specific instructions would be much appreciated. 

 

Thank you!

Hello,

We are getting the error below when making the API call below. This seems to be happening because of the built-in dedupe logic in Salesforce.com (see screenshot). Can anyone tell me why the deduplicate logic is causing this API error? The lead/contact did not previously exist. 

API Error:
stdClass Object
(
    [errors] => stdClass Object
        (
            [fields] =>
            [message] => You are possibly creating a duplicate record. Please see Mike to verify lead status.
            [statusCode] => UNKNOWN_EXCEPTION
        )

    [id] =>
    [success] =>
)
 
Here is the call we are sending to the SFDC API:
 
$crmConn = new SforcePartnerClient ();
$this->crmConn->create ( $sObjects, 'Lead' );
 
Where the $sObjects we used was as following:
 
Array
(
    [0] => SObject Object
        (
            [type] => Lead
            [fields] => Array
                (
                    [Phone] => 207-588-1019
                    [FirstName] => Patti
                    [LastName] => Sutter
                    [Email] => psutter@mainetechnology.org
                    [Company] => Maine Technology Institute
                    [Country] => United States
                    [City] => Brunswick
                    [State] => Maine
                    [PostalCode] => 04011
                    [LeadSource] => Organic Search (SEO)
                    [Leadliaison__LLLastSearchEngine__c] => google
                    [Leadliaison__LLLeadLiaisonGrade__c] => C
                    [Leadliaison__LLLeadLiaisonScore__c] => 68
                    [OwnerId] => 00561000000vDYfAAM
                )
        )
 
)

Here are the duplicate lead settings in the instance:
Dedupe Settings

Hello,

 

Could someone help me implement a workflow rule that will send an email to a Lead/Contact based on the "Birthdate" standard field? We'd like to send them an email the day before their birthday if possible. We're fairly new to formulas so specific instructions would be much appreciated. 

 

Thank you!

Can anyone help me out with the furmula to create a workflow that sends an happy birthday email according to the DOB filed of my client?