+ Start a Discussion
soma s 6soma s 6 

territory

My territory assigment rule fire when ever i save the record from UI, but i would like to automate it even if i save the record from back end 
how to do it please advise
RatanRatan
If you perfrom Update DML from apex then territory management rule never fire. 

You need to perfrom SOAP API callout with Account Id and perfrom dummy updates that will fire the territory management rule

Check this my answer

http://salesforce.stackexchange.com/a/107579/18731

and

http://salesforce.stackexchange.com/a/100673/18731