Skip to main content
Slack의 Trailblazer Community가 이제 오픈 베타를 시작했습니다. 참여하고 실시간으로 소통하세요. Slack에서 함께하세요

Superbadge를 통해 학습한 스킬을 복잡한 실제 비즈니스 문제에 적용할 수 있습니다. 이러한 평가는 더 높은 수준의 스킬과 지식을 요구합니다. 단계별로 안내되는 과제가 아니며 완료하는 데 더 많은 시간이 필요한 경우가 많습니다.

Design Flow Interactions with Assignment Rules and Custom Metadata

Case 5623

The sales team is having trouble properly assigning leads across queues. The team wants to automatically assign leads to one of two queues based on the lead’s country. The following configuration already exists in the org:

  • A custom field called Region (API Name Lead.Region__c)
  • Two queues representing the two regions:
    • Sales EMEA (API Name Sales_EMEA)
    • Sales APAC (API Name Sales_APAC)
  • A custom metadata type called Region (API Name Region__mdt) with two fields, APAC and EMEA
  • A lead assignment rule Region Assignment that will assign leads to either queue based on the lead’s region

Create a record-triggered flow called Set Lead Region to set the lead record’s Region based on the lead’s Country field (API Name Country) by referencing the custom metadata type. The flow should evaluate leads with a country value when they are created or updated, and leads should be reevaluated if the country value changes. Use the following logic for the entry criteria: 1 AND (2 OR 3) where:

  1. Country is not an empty string.
  2. ID is null.
  3. Country is changed.

Refer to the following requirements for the automation.

  • Retrieve the Region custom metadata, which associates the following countries with a respective region.
    • EMEA: ZM, GB, AE, ES
    • APAC: AU, NZ, JP, KR
  • Determine whether the lead’s country is included in the EMEA or APAC region.
  • Don’t update the lead record if the lead’s country isn’t one of the countries included in either region.
  • Update the lead record’s Region field with EMEA or APAC values.

Save and then activate the flow. The existing Lead Assignment Rule called Region Assignment will assign leads to the respective queue. To test your work, confirm that the assignment rule can reference the updated Region value on a new lead.

Note

Note

The requirements in this superbadge are staged to test your flow interaction skills. The configuration required isn’t intended as any representation of a territory management model that would satisfy any operational requirement.

Resources

Salesforce 도움말에서 Trailhead 피드백을 공유하세요.

Trailhead에 관한 여러분의 의견에 귀 기울이겠습니다. 이제 Salesforce 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기