United Kingdom +44 (0) 1424 863 450   hello@simego.com

Detect Dynamics CRM Entity Changes

How to detect an change in a Dynamics CRM Entity and use it to Trigger an Event in Ouvvi (DS3 Server)


7 August 2012

Step 1: Understand what is happening!

Within Ouvvi the trigger system calls each trigger at a 30 second interval to evaluate it’s state, the Dynamics CRM trigger will then call Dynamics CRM to see when the last item was created or updated.

This is a quick call that only returns a single data item the DateTime of the last change.  If this has changed since the last time time a change was detected then any projects associated with this trigger will be started.

Rather than synchronising on a timed schedule you can now achieve almost real-time updates (max 30 second delay) by implementing the Entity Change Trigger with your CRM environment.

This feature is currently only supported with OnPremise AD Authenticated CRM 4.0/2011 installations.

The feature requires no change to your CRM environment and can therefore be easily deployed.

Step 2: Create a new Trigger based on an entity type in Dynamics CRM

To configure the Trigger add a new Trigger of type ‘Crm Entity Trigger’

image

 

Step 3: Configure the connections to Dynamics CRM to detect the Change

Then enter the URL, Organisation Name and Entity Name you want to monitor you may also need to enter some credentials if Ouvvi is not running under an account that has access to your CRM environment.

image

Step 4: Set the Single Instance Project Property

The only other configuration item required is to ensure that your projects are configured for ’Single Instance’ so that multiple synchronisation operations do not occur in parallel.

 

image

Step 5: Associate the Trigger

That’s all it takes you can now simply associate this Trigger with any projects you want to run when a change is detected.


|
Can't find the answers you're looking for?