You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/data-platform/data-platform-create-business-rule.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ By combining conditions and actions, you can do any of the following with busine
37
37
38
38
## Differences between canvas and model-driven apps
39
39
40
-
Model driven apps can use all actions available on business rules, however not all business rule actions are available for canvas apps at this time. The following actions are **not** available on Canvas apps:
40
+
Model driven apps can use all actions available on business rules, however not all business rule actions are available for canvas apps at this time. The following actions are **not** available on canvas apps:
41
41
42
42
* Show or hide columns
43
43
* Enable or disable columns
@@ -95,7 +95,7 @@ Business rules work with most column types including text, number, choice, date,
95
95
96
96
8.**Add actions.** To add an action:
97
97
98
-
1. Drag one of the action components from the **Components** tab to a plus sign next to **Condition** component. Drag the action to a plus sign next to a check mark if you want the business rule to take that action when the condition is met, or to a plus sign next to an x if you want the business rule to take that action if the condition is not met.
98
+
1. Drag one of the action components from the **Components** tab to a plus sign next to **Condition** component. Drag the action to a plus sign next to a check mark if you want the business rule to take that action when the condition is met, or to a plus sign next to an x if you want the business rule to take that action if the condition isn't met.
99
99
100
100

101
101
@@ -105,7 +105,7 @@ Business rules work with most column types including text, number, choice, date,
105
105
106
106
9.**Add a business recommendation (model-driven apps only)**. To add a business recommendation:
107
107
108
-
1. Drag the **Recommendation** component from the **Components** tab to a plus sign next to a **Condition** component. Drag the **Recommendation** component to a plus sign next to a check mark if you want the business rule to take that action when the condition is met, or to a plus sign next to an x if you want the business rule to take that action if the condition is not met.
108
+
1. Drag the **Recommendation** component from the **Components** tab to a plus sign next to a **Condition** component. Drag the **Recommendation** component to a plus sign next to a check mark if you want the business rule to take that action when the condition is met, or to a plus sign next to an x if you want the business rule to take that action if the condition isn't met.
109
109
110
110
2. To set properties for the recommendation, select the **Recommendation** component in the designer window, and then set the properties in the **Properties** tab.
111
111
@@ -135,8 +135,8 @@ Business rules work with most column types including text, number, choice, date,
135
135
1. Sign in to [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), on the left navigation pane expand **Data**.
136
136
1. In the list that appears, select **Tables**.
137
137
1. Open the **Task** table, and then select the **Business rules** tab.
138
-
1. Select New.
139
-
1. Select **New Condition** on the business process flow canvas, and enter or select the following properties.
138
+
1. Select **Add business rule**.
139
+
1. Select **New Condition** on the business process flow canvas, and enter or select the following properties:
140
140
-**Display name**: *Task is more than 30 days old*
141
141
-**Entity**: **Task**
142
142
-**Rule 1**
@@ -151,31 +151,31 @@ Business rules work with most column types including text, number, choice, date,
151
151
1. In the **Show Error Message Properties** tab, enter the following properties:
152
152
-**Display Name**: *Task is more than 30 days old*
153
153
-**Entity**: **Task**
154
-
- Error Message:
154
+
-**Error Message**:
155
155
-**Field**: **Description**
156
156
-**Message**: *This task is more than 30 days old!*
157
157
1. Select **Apply**.
158
158
1. Select **Save**.
159
159
160
160
## Localize error messages used in business rules
161
161
162
-
If you have more than one language provisioned for your organization, you will want to localize any error messages that you have set. Each time you set a message, a label is generated by the system. If you export the translations in your organization, you can add localized versions of your messages and then import those labels back into the Dataverse, so that people using languages other than your base language can view the translated messages.
162
+
If you've more than one language provisioned for your organization, you'll want to localize any error messages that you have set. Each time you set a message, a label is generated by the system. If you export the translations in your organization, you can add localized versions of your messages and then import those labels back into the Dataverse, so that people using languages other than your base language can view the translated messages.
163
163
164
164
## Common issues
165
165
166
166
This section describes common issues that may occur when you use business rules.
167
167
168
168
### Composite attributes not supported with Unified Interface apps
169
169
170
-
Actions or conditions that use [Composite attributes](../../developer/model-driven-apps/clientapi/reference/composite-attributes.md)are not supported in apps based on the Unified Interface. Alternatively, you can use actions or conditions on the attributes that comprise the composite attributes. For example, instead of using the **Full Name** (fullname) attribute, you can use the **First Name** (firstname) and **Last Name** (lastname) attributes.
170
+
Actions or conditions that use [Composite attributes](../../developer/model-driven-apps/clientapi/reference/composite-attributes.md)aren't supported in apps based on the Unified Interface. Alternatively, you can use actions or conditions on the attributes that comprise the composite attributes. For example, instead of using the **Full Name** (fullname) attribute, you can use the **First Name** (firstname) and **Last Name** (lastname) attributes.
171
171
172
172
### Is your business rule not firing for a form?
173
173
174
174
A business rule may not execute because the field referenced in the business rule isn’t included with the form.
175
175
1. Open [solution explorer](../model-driven-apps/advanced-navigation.md#solution-explorer). Expand the entity that you want and then select **Forms**.
176
176
2. Open the form that you want and then on the form designer ribbon select **Business Rules**.
177
177
3. In the form designer, open the business rule.
178
-
4. In the business rule designer select each condition and action to verify all the fields referenced in each condition and action.
178
+
4. In the business rule designer, select each condition and action to verify all the fields referenced in each condition and action.
179
179
180
180
> [!div class="mx-imgBorder"]
181
181
> 
@@ -191,13 +191,13 @@ A business rule may not execute because the field referenced in the business rul
191
191
- Yes, a business rule can unlock fields and edit actions on a read-only form.
192
192
193
193
*How do I troubleshoot a business rule that isn't working?*
194
-
- See [Is your business rule not firing for a form?](#is-your-business-rule-not-firing-for-a-form) in this topic.
194
+
- See [Is your business rule not firing for a form?](#is-your-business-rule-not-firing-for-a-form) in this article.
195
195
196
196
*Do business rules react to changes made by an onLoad script?*
197
-
- No, they will execute before an onload script is executed.
197
+
- No, they'll execute before an onload script is executed.
198
198
199
199
*When I update a business rule, is it executed against all existing records?*
200
-
- No. Business rules are run on clients. For example, they run when a form is opened by a user and when a field value changes on that open form. They are not executed inside Dataverse.
200
+
- No. Business rules are run on clients. For example, they run when a form is opened by a user and when a field value changes on that open form. They aren't executed inside Dataverse.
0 commit comments