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

Enforce territory assignment rules when inline editing an account
Inline Edit and Territory Assignment Rules
When you inline edit an account and save, territory assignment rules cannot be enforced. Unfortunately even in an APEX trigger you cannot trigger the rules.
A possible solution seems to be to fire a web service call from the trigger which does a second update and requires territory assignment rules to be run.
Has anyone written working APEX code for this scenario and can share the relevant code snippets?
When you inline edit an account and save, territory assignment rules cannot be enforced. Unfortunately even in an APEX trigger you cannot trigger the rules.
A possible solution seems to be to fire a web service call from the trigger which does a second update and requires territory assignment rules to be run.
Has anyone written working APEX code for this scenario and can share the relevant code snippets?
Hi Thomas,
Assignment rules don't fire with inline edits and thus inline editing of cases and leads doesn't make much sense
This is still in idea phase :-
https://ideas.salesforce.com/s/idea/a0B8W00000GdiHlUAJ/assignment-rules-dont-work-with-inline-edits
You can also upvote for this.
For more detail about the limitation refer this link :-
https://help.salesforce.com/s/articleView?id=000315632&type=1
If this information is helpful, kindly mark it as best answer so that it can help others.
Regards,
Priya Ranjan
i) I am talking about territory assignment rules, not cases or leads