function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MattLacey.ax1065MattLacey.ax1065 

Run Territory Assignment from Apex?

As the subject states, is there a way to trigger territory assignment from apex? Have posted a question on stack overflow too for completeness, will cross-post the solution if there is one!

 

 

Starz26Starz26

read here...

 

http://boards.developerforce.com/t5/Apex-Code-Development/Assigning-Territories-through-APEX-without-Assignment-Rules/td-p/170417

 

not marked as solved so not sure. We do not use territory management yet so I have not had time to play with development yet.......

 

Let us know if this helps you. Will be keeping a watch on this thread...

MattLacey.ax1065MattLacey.ax1065

Nice find! I'll give that a go and see if it works for our scenario.