In this example, we will create a Knowledge Base with a composite domain for title enrichment. The title enrichment CD has three domains: Title
, Gender
, and Marital Status
. Then we will create a CD rule to fetch the correct title based on gender and marital status with the following steps:
Create a new Knowledge Base and name it
Customer KB
.Create three domains of string data type named
Title
,Gender
, andMarital Status
.Select the Gender domain in the Domain Values tab and add two values:
F
andM
.Add two values for the Marital Status domain:
S
andM
. And add three values for the Title domain:Mr.
,Mrs.
, andMs.
.Create a composite domain containing all three domains mentioned earlier and name it
Title Enrichment
.Select the Title Enrichment domain and then go to the CD Rules tab, add a new domain rule, and name it
Male Title
. In the Build a Rule: Male Title pane, choose Gender in the drop-down list and then choose Value is equal to in the rule drop-down...