Skip to content

Commit 8a7e249

Browse files
committed
Content and art updates
1 parent 22acabf commit 8a7e249

11 files changed

+20
-12
lines changed

articles/connectors/connect-common-data-service.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ For this example, add the Common Data Service trigger that fires when a new reco
5454

5555
1. In the search box, enter `common data service`. For this example, under the triggers list, select this trigger: **When a record is created**
5656

57-
![Select "When a record is created" trigger](./media/connectors-create-api-crmonline/select-when-record-created-trigger.png)
57+
![Select "When a record is created" trigger](./media/connect-common-data-service/select-when-record-created-trigger.png)
5858

5959
1. If prompted, sign in to the Common Data Service.
6060

6161
1. In the trigger, provide information about the environment where you want to monitor for new "Leads" records, for example:
6262

63-
![Trigger information for environment to monitor](./media/connectors-create-api-crmonline/when-record-created-trigger-details.png)
63+
![Trigger information for environment to monitor](./media/connect-common-data-service/when-record-created-trigger-details.png)
6464

6565
| Property | Required | Description |
6666
|----------|----------|-------------|
@@ -77,11 +77,11 @@ Now add a Common Data Service action that creates a task record for a new "Leads
7777

7878
1. In the search box, enter `common data service`. From the actions list, select this action: **Create a new record**
7979

80-
![Select "Create a new record" action](./media/connectors-create-api-crmonline/select-create-new-record-action.png)
80+
![Select "Create a new record" action](./media/connect-common-data-service/select-create-new-record-action.png)
8181

8282
1. In the action, provide the information about the environment where you want to create the new task record. If available, other properties also appear based on the entity that you selected for this action, for example:
8383

84-
![Action information for the environment where to create the record](./media/connectors-create-api-crmonline/create-new-record-action-details.png)
84+
![Action information for the environment where to create the record](./media/connect-common-data-service/create-new-record-action-details.png)
8585

8686
| Property | Required | Description |
8787
|----------|----------|-------------|
@@ -98,7 +98,7 @@ Now add a Common Data Service action that creates a task record for a new "Leads
9898

9999
1. In the list, from the **When a record is created** section, select the trigger outputs that you want to include in the task record, for example:
100100

101-
![Select trigger outputs to use in task record](./media/connectors-create-api-crmonline/create-new-record-action-select-trigger-outputs.png)
101+
![Select trigger outputs to use in task record](./media/connect-common-data-service/create-new-record-action-select-trigger-outputs.png)
102102

103103
| Trigger output | Description |
104104
|----------------|-------------|
@@ -109,19 +109,27 @@ Now add a Common Data Service action that creates a task record for a new "Leads
109109

110110
When you're done, the action might look like this example:
111111

112-
![Finished "Create a new record" action](./media/connectors-create-api-crmonline/finished-create-record-action-details.png)
112+
![Finished "Create a new record" action](./media/connect-common-data-service/finished-create-record-action-details.png)
113113

114114
1. Save your logic app. On the designer toolbar, select **Save**.
115115

116116
1. To manually start the logic app, on the designer toolbar, select **Run**. To test your logic app, create a new "Leads" record.
117117

118-
## Add filter or query
118+
## Trigger only on updated attributes
119119

120-
To specify how to filter data in a Dynamics 365 action, choose **Show advanced options** in that action.
121-
You can then add a filter or order by query.
122-
For example, you can use a filter query to get only the
123-
active accounts and order those records by account name.
124-
For this task, follow these steps:
120+
For triggers that run when a record is updated, you can use filter attributes so that your logic app runs only when the specified attributes are updated. This capability helps you prevent unnecessary logic app runs.
121+
122+
1. In the trigger, from the **Add new parameter** list, select **Attribute Filters**.
123+
124+
![Add "Attribute Filters" property](./media/connect-common-data-service/when-record-updated-trigger-add-attribute-filters.png)
125+
126+
1. For each **Attribute Filters Item**, select the attribute that you want to monitor for updates, for example:
127+
128+
![Add "Attribute Filters" property](./media/connect-common-data-service/when-record-updated-trigger-select-attribute-filter.png)
129+
130+
## Add record filtering or ordering
131+
132+
For actions that list records, you can add a query that returns records based on a filter or in a specific order. For example, you can use a filter query to get only the active accounts and order those records by account name. For this task, follow these steps:
125133

126134
1. Under **Filter query**, enter this OData filter query: `statuscode eq 1`
127135

24.8 KB
Loading
25.4 KB
Loading
25 KB
Loading

0 commit comments

Comments
 (0)