function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Automatic Lead Assignment Rules

I've seen a few discussions about assignment rules and having them automatically assigned. I was wondering if there was a simple way to have a new Lead that is populated via the sforce PERL API use the assignement rules found in salesforce?
You just need to set the AssignmentRuleHeader values, not sure how'd you add a soap header in PHP though.
That's o.k. I just need to know how to do it in PERL. I remember reading that I needed set those headers and they are in the SaveOptions header information. Code examples would be greatly appreciated.
Ron HessRon Hess

It sort of depends on which perl module you are using.

Are you using the one recenlty updated on CPAN ?

I'd like to be able to do this in PHP. Anyone have a sample code snippet on how to set the proper headers in PHP using the API.