Triggers

OData Trigger

The OData Trigger calls an OData V1/V2 service and fires when the returned value increases. It enables you to trigger projects based on a change from an OData Source. The returned OData data set should include a single column and single result of type Edm.DateTime or Edm.String that contains the Date and Time of the last item change.

To add a new OData Trigger select the “OData Trigger” from the List of Triggers.

OData Trigger

Parameter Value
OData Server Url The URL to the OData Server.
OData Entity The OData entity to connect to.
OData Field The OData field to connect to.
OData Service Command The OData service command to run e.g. $select=ModifiedOn&$top=1&$orderby=ModifiedOn%20desc.
OData Server Version The version number of the OData server.
Http Timeout The time it will take for the request to timeout.
Username (optional) The username required to connect to the service, if different to the Ouvvi Windows Service Credentials.
Password (optional) The password required to connect to the service, if different to the Ouvvi Windows Service Credentials.
Domain (optional) The domain for server authentication.
Time between Trigger Capture The time between when the trigger will run, and when the value increases.

See below for an example of how you could configure the trigger based on a change to the Account Entity in Dynamics.

Dynamics OData Trigger

Notice our 'OData Service Command' here where we order the results descending by the ModifiedOn column and return the first row and only the ModifiedOn column.

$select=ModifiedOn&$top=1&$orderby=ModifiedOn%20desc