Skip to main content
Grégoire_Miche2
Level 10
Oct 30, 2015 10:45 AM UTC
New

Force execution of Salesforce Lead Assignment Rules on lead update

When synchronizing a lead to SFDC, if it's a new lead, we can choose the "-- Use Auto-Assignment Rules --" option that will fire the assignment rules in SFDC.

But when we are updating a lead, this option has no effect. The issue behind it is that we have to replace assignment rules with workflows in SFDC which makes often the project very tricky, all the more so as the workflows cannot be made as flexible as assignment rules.

And yet, in salesforce, when we one updates a lead manually he/she as the possibility to check the following box

Furthermore, SFDC API enables to manage precisely whether or not we want assignment rules to be executed on lead update through the "AssignmentRuleHeader" (Lead | SOAP API Developer's Guide | Salesforce Developers )

So this idea is to evolve the "sync lead to SFDC" flow step so that one could choose whether or not the assignment rules should be triggered on update. The option should also be available to implicit syncs that occur when a lead is added to a program which is sync'ed with an SFDC campaign. The option could also be set at instance level, but leaving flexibility would be better.

It would avoid many issues faced by customers. i.e. :

Marketo/Salesforce Assignment Headache. Advice needed.

re-run through sfdc auto assignment rules​

Trigger assignment rules in SFDC to re-assign leads 

...

17 replies

Oct 30, 2015 4:32 PM UTC

Wholeheartedly agree

Translate
Grégoire_Miche2
Level 10
Dec 25, 2015 2:52 PM UTC

One step further would be for Marketo to get the list of assignment rules from SFDC and offer the choice to Marketo user between all available assignment rules (not just the default one).

-Greg

Translate
Grégoire_Miche2
Level 10
Dec 27, 2015 5:59 PM UTC

For those who are interested, we have developed an SFDC trigger that does the job. It's a workaround, and it will require a "Change Data Value" in the flow, prior to the sync.

Follow-me in the community and DM me to ask for it, I'll send over a package link. The package will contain all what's necessary. You can install it on your SFDC dev sandbox.

Safe harbor : We do not provide support for this. Use it at your own risks

-Greg

Translate
Feb 17, 2016 12:29 AM UTC

Hi Gregoire,

I'd definitely be interested in this trigger! I can't figure out how to PM you, but feel free to email me at carolyn.price@aquaticinformatics.com

Cheers,
Carolyn

Translate
Feb 26, 2016 8:53 PM UTC

I do want this option but...We used to have InsideView integration in SFDC/Marketo and it would fire the lead assignment rules once the lead was enriched. One of the biggest problems I would run into is when the owner was changed manually (for whatever reason) the rule would fire and it would assign back to the original owner. It takes adding a checkbox or step to the lead when it's assigned manually to remove it from these type of rules, but definitely something extra to consider should Marketo add this functionality.

Translate
Grégoire_Miche2
Level 10
Feb 26, 2016 11:26 PM UTC

Hi Emily,

The case you are talking about can be handled as follow: when a lead is assigned to a sales person, we use a salesforce workflow to change it's status (to "Sales Assigned"), and this status is excluded from the Lead Assignment Rules.

-Greg

Translate
Feb 26, 2016 11:39 PM UTC

I guess what I'm getting to is that it would be better to have scenario driven triggers for assignment rules vs when it's updated, but that is more of a SFDC functionality that is severely lacking than this Marketo Idea off to the True to the Core group to vote up ideas for Leads!

Translate
Michelle_Tang3
Level 3
Jul 6, 2017 12:12 AM UTC

Hi @Grégorie! Could you send me the information to force the assignment rules for an existing lead?

Translate
Grégoire_Miche2
Level 10
Jul 18, 2017 10:05 PM UTC

Hi Michelle,

Unfortunately, the package has been erased and cannontbe retreived. I need to rebuild it and I do not have time for the moment

-Greg

Translate
Dec 13, 2017 2:33 PM UTC

This would save our Enterprise Apps team so much time not having to write SFDC code. Our business development team has to work any marketing qualified person, that includes customers so not being able to re-trigger lead assignment rules in Marketo creates a lot of manual work on our end.

Translate
Feb 6, 2020 8:36 PM UTC
No text available
Translate