web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics CRM Online 2016 - Change Tracking

(0) ShareShare
ReportReport
Posted on by

Hi All,


I'm currently using the change tracking option on an entity to pass an API call to an external program. At the moment, there are Custom Activities being triggered in a workflow and I would like to move away from this approach as I don't think that is the idea for the situation.

The plan is to have a service polling the CRM using the RetrieveEntityChangesRequest method, for specific entity changes, eg: account, and then pushing those changes to the external system. There is currently a few questions, I have regarding this and the best practice to ensure it is done correctly.

1. Is there a correct time interval to be set on the polling service eg: every 1 second? Will this cause a load issue on the CRM if is it polled to much?

2. What is the best way of saving the RetrieveEntityChangesRequest.DataVersion of the last poll for that entity? Have a custom field on the entity and update that after the poll?

Any help and tips with this going forward, would be greatly appreciated.

Thank you.

*This post is locked for comments

I have the same question (0)
  • Inogic Profile Picture
    703 on at

    Hi,

    1. Is there a correct time interval to be set on the polling service eg: every 1 second? Will this cause a load issue      on the CRM if is it polled to much?
       Every 1 Second would definitely cause a lot of load on the server, rather you can keep the polling interval for        every 30 minutes (this is my personal opinion).

    2. What is the best way of saving the RetrieveEntityChangesRequest.DataVersion of the last poll for that entity?      Have a custom field on the entity and update that after the poll?
       You can have a custom entity, which will hold the entity name and its corresponding DataVersion value.

    HTH!

    Thanks,
    Sam

  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi Peter, Have you considered the OOTB Auditing, and export the data from the Audit logs instead?

  • Community Member Profile Picture
    on at

    Hi Raz, How would you be able to export audit logs from CRM online?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans