You need to sign in to do that
Don't have an account?

Assignment Rule not working
Hi,
I am having problems with the autoassignment rules working when I submit a lead using the api 4.0 into salesforce. The lead owner is always set to the user that I use to log into salesforce. How can I get my app to use the autoassign rules I have set up in salesforce? I am using the 4.0 api, asp.net and c# to develop my app.
svc.AssignmentRuleHeader = new sforce.AssignmentRuleHeader();
svc.AssignmentRuleHeader.useDefaultRule = true;
svc.AssignmentRuleHeader.useDefaultRuleSpecified = true;