You need to sign in to do that
Don't have an account?
thechad
AutoAssignmentRule No Worky on New Soap URL -> PHP Client
Greetings...
I am using the latest version (for php 4) of the salesforce php client (I think 5.4). My autoassignment rule worked perfectly until I updated the url for the soap call from:
https://www.salesforce.com/services/Soap/u/4.0
TO:
https://www.salesforce.com/services/Soap/u/7.0
Now the assignment rule doesn't work... and everything else does. Here is my function
function addAutoAssign($autoAssignId) {
$header = new SOAP_Header(
'{urn:enterprise.soap.sforce.com}SaveOptions',
NULL,
array('autoAssign' => 'true', 'assignmentRuleId'=>$autoAssignId),
0);
$this->addHeader($header);
}
Any ideas what I need to change to make this work again?
I am using the latest version (for php 4) of the salesforce php client (I think 5.4). My autoassignment rule worked perfectly until I updated the url for the soap call from:
https://www.salesforce.com/services/Soap/u/4.0
TO:
https://www.salesforce.com/services/Soap/u/7.0
Now the assignment rule doesn't work... and everything else does. Here is my function
function addAutoAssign($autoAssignId) {
$header = new SOAP_Header(
'{urn:enterprise.soap.sforce.com}SaveOptions',
NULL,
array('autoAssign' => 'true', 'assignmentRuleId'=>$autoAssignId),
0);
$this->addHeader($header);
}
Any ideas what I need to change to make this work again?
Superfell
Check the current docs, SaveOptions is not longer part of the API, you need to use the AssignmentRuleHeader instead.