Rank hierarchy in 12.2.5 is not working based on territory defined.
We are able to create territories successfully. Problem is territory rank. Please check the below example to understand our issue.
1. Territory A with request type X should assigned to group G1(Rank 2)
2. Territory B with request type X should assigned to group G2(Rank 1)
As per the rank when we create a service request with request type X it should consider group G2 but it is considering only group G1 as it was created first.
Kindly advise the solution