Create and Publish a Business Rule (Master Data Services)
Applies to: SQL Server - Windows only Azure SQL Managed Instance
In Master Data Services, create a business rule to ensure the accuracy of your master data. After you create a rule, you must publish it before you can apply it to data.
Prerequisites
To perform this procedure:
You must have permission to access the System Administration functional area.
You must be a model administrator. For more information, see Administrators (Master Data Services).
To create and publish a business rule
In Master Data Manager, click System Administration.
From the menu bar, point to Manage and click Business Rules.
On the Business Rule page, from the Model drop-down list, select a model.
From the Entity drop-down list, select an entity.
From the Member Types drop-down list, select a type of member for the business rule to apply to.
Click Add.
In the Name box, type a name for the business rule.
Optionally, in the Description field, type the business rule description.
Optionally, check the Send Notifications option and from the drop-down list select a user or group to send the email notification to.
Note
Notifications are sent only for rules that include a validation action.
Under the If block, click Add. A panel will be displayed.
From the Attribute drop-down list, select an attribute.
From the Operator drop-down list, select a condition.
Complete any required fields.
Click Save button. A new row will be added to the If grid.
Tip
You can delete items from your business rule by right-clicking each item and choosing Delete.
Optionally, add multiple conditions to the rule. For more information, see Add Multiple Conditions to a Business Rule (Master Data Services).
Under the Then block, click Add . A panel will be displayed.
From the Attribute drop-down list, select an attribute.
From the Operator drop-down list, select an action.
Complete any required fields.
Click Save. A new row will be added to the Then grid.
Optionally, to add Else action, complete the following steps.
Under the Else block, click Add. A panel will be displayed.
From the Attribute drop-down list, select an attribute.
From the Operator drop-down list, select an action.
Complete any required fields.
Click Save. A new row will be added to the Else grid.
Click Save. A new row will be added to the business rules grid.
Click Publish All.
On the confirmation dialog box, click OK. The value in the Business Rule State column is Active.
Grid Columns
For each created business rule, a row with six columns is added to the grid. The following are the columns.
Name | Description |
---|---|
Status | When you click Save the following image is displayed that indicates that the business rule is updating. If there are errors when creating or editing a business rule, the following image is displayed. If the status is OK, then the following image is displayed. |
Name | The business rule name. |
Description | The business rule description. |
Business Rule State | One of the following business rule statuses: : Rule not defined, Active, Excluded, Pending Changes, Pending Exclusion and Pending Deletion. |
Excluded | Specifies whether the business rule is excluded. |
Notification | Specifies the selected user or group to send the email notification to. |
Next Steps
Apply business rules to data by following one of these procedures:
See Also
Configure Business Rules to Send Notifications (Master Data Services)
Change a Business Rule Name (Master Data Services)
Add Multiple Conditions to a Business Rule (Master Data Services)