-
On the left side options column expand Data Sources, expand Change Triggers, and click on Trigger.
-
On the Change Triggers page click Create Change Trigger button.
-
On the New Query Data Source page click the Dynamics 365 Sales Change Data Source button.
-
The Dynamics 365 Sales Change Data Source page opens.
- Enter a Description for the data source.
- Connection – select the connection to be used from the dropdown list.
- Click the Validate button – this will verify the Connection is successful and enable the Organization and Entity fields.
- Organization – after the connection is selected, the Organization field becomes active. Select the organization to be used from the dropdown list.
- Entity – from the dropdown list select the CRM entity to be updated.
- Trigger On Column Change – select the column(s) that will cause the trigger to run when changed.
- Return Option Set Labels – Option sets within CRM have a value (held in the database) and a label (shown to the end user). Default queries to CRM return the value for option sets rather than the label. The return option sets as label checkbox on CRM data sources will return the label linked to the option set instead of the value.
- Click Save – this will save the data source and enable the Edit Query button if the user needs to edit the query.
- Edit Query – opens the Query Builder to edit the query.
- After the query has been created click on Save Query to return to the Dynamics 365 Sales Change Data Source window.
- IMPORTANT: In Order to save the data change source at this point, the user must click on Validate and have the validation return a successful message. Once the successful message is returned, the Edit Query, Save, and Preview buttons will become active.
- Click Save to save the change data source.