Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Microsoft CRM 2013 Online: Update Entity Record Data on a daily basis

Posted on by 250

Hi Team,

Requirement:

This is a Microsoft CRM 2013 online version and I got one requirement to recalculate 'Days Overdue' date for all Site Visit records on a daily basis.

Back ground:

I have one custom entity called "Site Visit" with ‘Due Date’ and ‘Days Overdue’ date field. The client wants to recalculate 'Days Overdue' based on 'Due Date' fields on a daily basis. That means system should auto- calculate 'Days Overdue' field of Site Visit records daily based on Due Date value. If it is CRM On-Premise I can go with SSIS package or windows service to bulk update Days Overdue of Site Visit records on a daily basis. How can I update all Site Visit records in MS CRM 2013 Online version on a daily basis? Does anyone come across this kind of scenario in CRM 2013 Online version?   

 

*This post is locked for comments

  • Ragnar Hilmarsson Profile Picture
    Ragnar Hilmarsson 3,427 on at
    RE: Microsoft CRM 2013 Online: Update Entity Record Data on a daily basis

    Hi

    You can connect to the online  SDK Webservices via SSIS, If you have SSIS envirment i think is better do use that. Schedule workflow  can impact performance.

  • Suggested answer
    RE: Microsoft CRM 2013 Online: Update Entity Record Data on a daily basis

    You can achieve your requirement using recurring workflow - bulk deletion process, refer below URLs for how to setup daily recurring workflow using bulk deletion process.

    blogs.msdn.com/.../scheduling-recurring-workflows-in-microsoft-dynamics-crm-2011-online-and-on-premise.aspx

    www.crmsoftwareblog.com/.../using-the-bulk-deletion-process-to-schedule-recurring-workflows

    Now, you will need to have child workflow(custom workflow activity) that will execute under parent workflow(recurring workflow in this case) that will fetch all "Site Visit" records and will update due date by adding 1 to it.

    Thanks,

    Vijay Waghmare

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans