A rule library maps context definition tags to the fields used to define promotions and promotion eligibility criteria. Create a rule library for pricing designers to use when they create promotions.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with Communications Cloud Advanced |
| User Permissions Needed | |
|---|---|
| To create a rule library: | Context Service Admin permission set |
Revenue Cloud for Communications uses Global Promotion Management capabilities when your users design and apply promotions. Before you create a rule library, turn on the Global Promotion Management settings required for promotions.
- Turn on Context Service.
- Turn on Global Promotions Management.
- Turn on Promotion Evaluation and Execution.
- To use promotions for bundled products, turn on Product Catalog Management in Global Promotions Management Settings.
After you turn on the required Global Promotions Management settings, create a rule library.
- From the App Launcher, find and select Rule Libraries.
- Click New.
- Enter a name and an API name.
- For the Context Definition Name of the first default version, enter the API name of your extended ConsumerSalesContext context definition.
- For Usage Type, select Promotions with Revenue Management.
- Save your changes.
- In the Rule Library Versions list, click the name of your rule library.
-
For each required mapping, complete these steps.
- In the Custom Tag Mapping section, click New.
- Select a mapping name, and then select its context tag.
-
Save your changes.
For information, see Rule Library Mappings.
-
Activate the rule library.
After your rule library is ready, share its name with the pricing designers who create promotions.