| title | Add Multiple Conditions to a Business Rule (Master Data Services) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 03/06/2017 | |
| ms.prod | sql-server-2014 | |
| ms.reviewer | ||
| ms.technology | master-data-services | |
| ms.topic | conceptual | |
| helpviewer_keywords |
|
|
| ms.assetid | 5f0f6958-6cf2-444b-bdcd-05b887637a0b | |
| author | lrtoyou1223 | |
| ms.author | lle | |
| manager | craigg |
In [!INCLUDEssMDSshort], add multiple AND or OR conditions to a business rule when you want a more complex rule.
Note
If you create a business rule that uses the OR operator, consider creating a separate rule for each conditional statement that can be evaluated independently. You can then exclude rules as needed, providing more flexibility and easier troubleshooting.
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).
-
A business rule must exist. For more information, see Create and Publish a Business Rule (Master Data Services).
-
In [!INCLUDEssMDSmdm], click System Administration.
-
From the menu bar, point to Manage and click Business Rules.
-
On the Business Rule Maintenance page, from the Model list, select a model.
-
From the Entity list, select an entity.
-
From the Member Type list, select a type of member.
-
From the Attribute list, select an attribute or leave the default of All.
-
Click the row for the business rule you want to edit.
-
Click Edit selected business rule.
-
In the Components pane, expand the Logical Operators node.
-
Click AND or OR and drag it to the IF pane's AND label.
-
In the Components pane, expand the Conditions node.
-
Click a condition and drag it to IF pane, to the AND or OR label from step 10.
-
In the Attributes pane, click an attribute and drag it to the Edit Condition pane's Select attribute label.
-
In the Edit Condition pane, complete any required fields.
-
In the Edit Condition pane, click Save item.
-
Optionally, to add more conditions, from the Components pane, drag AND or OR to any AND or OR in the IF pane. Then follow steps 13-15.
[!TIP]
To delete a condition, click the name of the condition and in the Edit Condition pane, click Delete item.
Business Rules (Master Data Services)
Change a Business Rule Name (Master Data Services)
Configure Business Rules to Send Notifications (Master Data Services)