Skip to main content
Vipul Singhal (Cloudwerx) 님이 Territory Management에 글을 올렸습니다

Hi, I am working on an engagement for a customer to migrate from TM 1.0 to ETM. We need to use ObjectTerritory2Association in order to link the accounts with the territories in ETM enabled org. This requires me to fetch data from two objects in TM 1.0 org- AccountShare and Group. I believe the Group data is created automatically by Salesforce upon the creation of Territories. However, I noticed a rather odd pattern in Group data in ETM orgs that a '1' is appended in front of all Group records in the DeveloperName field. Has anyone come across this behavior?

@Song Haidong 

댓글 2개
  1. 2021년 5월 2일 오전 11:02
    @Song Haidong, thanks. I understood the loading territories part. My concern is about the Group data. I am given to understand that as soon as the territories are loaded, Salesforce creates a record in Group object automatically against each territory record. Eg- If the territory name is ABC, Salesforce will create a record in the Group object with DevName ABC. However, in an ETM enabled sandbox, the DevName is coming as ABC1. I am not understanding why that 1 is being appended with it. Any idea on this? As far as I know, there is no explicit trigger written to create the Group records, it is an OOTB feature of Salesforce. Please correct me if my understanding is incorrect.
0/9000