> For the complete documentation index, see [llms.txt](https://docs.maplytics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maplytics.com/features/workflows/configure-territory-assignment-workflows-for-custom-entities.md). Agents can also search and read this documentation through its [MCP server](https://docs.maplytics.com/~gitbook/mcp).

# Configure Territory Assignment Workflows for Custom Entities

1. Follow Steps 1 – 3 from configuring geocoding workflow for custom entities. This will help you create a new workflow.
2. For the Record fields change option, select all of the address fields to ensure the territory is changed when any of the address fields is changed as shown below:

![](https://gblobscdn.gitbook.com/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MJPpfSqiBGdrw7Pv62d%2F-MJPs60g4JjBQWYSbr-T%2Fassets2F-M0QoyqUVI8_HaZ9FOSL2F-MFQ2jl4lwQe66IE27TI2F-MFQ2zH103xuW0r5C4p32F10.jpg?alt=media\&token=5718d686-7a90-4700-a58e-df07f78cf0f9)

3\. Click on ‘***Add Steps***’ and add ***‘AssignTerritoryWorkflow\.AssignTerritory’*** assembly as shown below:

![](https://gblobscdn.gitbook.com/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MJPpfSqiBGdrw7Pv62d%2F-MJPsAqwO305y-IxygSU%2Fassets2F-M0QoyqUVI8_HaZ9FOSL2F-MFQ2jl4lwQe66IE27TI2F-MFQ3CPpFinjkRQidFxz2F2.jpg?alt=media\&token=0de4ee92-5d54-42e1-b77b-b6b2d08cf5e4)

4\. Click on ‘***Set Properties***’ and set the address parameter as shown below and Save this:

![](https://gblobscdn.gitbook.com/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MJPpfSqiBGdrw7Pv62d%2F-MJPsE4BPd8ajQd-UTtP%2Fassets2F-M0QoyqUVI8_HaZ9FOSL2F-MFQ2jl4lwQe66IE27TI2F-MFQ3P5vckXhApM741p-2F10.jpg?alt=media\&token=622c4abe-4cbe-494a-a96e-ae426b04e02b)
