Salesforce Fact #639 | Filter-based opp territory assignment

In order to use an apex class for filter-based opportunity territory assignment, the apex class needs to implement the TerritoryMgmt.OpportunityTerritory2AssignmentFilter interface and it needs to implement the getOpportunityTerritory2Assignments() method.

Reference: https://help.salesforce.com/s/articleView?id=sf.tm2_enable_ota.htm&type=5

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow