+ 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.