You need to sign in to do that
Don't have an account?
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
I try to create a new workflow step, but the api show me a error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
$records[0] = new stdclass();
$records[0]->StepStatus = 'Approved';
$records[0]->Comments = 'hello';
$records[0]->ProcessInstanceId = '04g50000000n0xxAAA';
$response = $mySforceConnection->create($records, 'ProcessInstanceStep');
print_r($response);
You can see, the propiety support the create funcion, but dont work!!
http://www.salesforce.com/us/developer/docs/api/index_Left.htm#CSHID=sforce_api_objects_approval.htm|StartTopic=Content%2Fsforce_api_objects_approval.htm|SkinName=webhelp
Thanks.
I think you should be using the process method, not create.
Sorry, but the method function not exist!!!??!?!
Call to undefined method SforceEnterpriseClient::method
http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_calls_process.htm
Thanks, but i dont see any similar class in the PHP toolkit!!!
If you're on the latest version of the PHP toolkit, then you should log an issue for it.