You need to sign in to do that
Don't have an account?
Inserting leads and assignment rules with Jitterbit
Hi,
Could someone tell me how i can get lead assignment rules when I am inserting new leads records with Jitterbit?
Thanks
Could someone tell me how i can get lead assignment rules when I am inserting new leads records with Jitterbit?
Thanks
for (Lead l: trigger.new()){
database.DMLOptions dmo = new database.DMLOptions();
dmo.assignmentRuleHeader.useDefaultRule = true;
l.setOptions(dmo);
}