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)

Console scheduler Task

(0) ShareShare
ReportReport
Posted on by

I need a scheduler in  CRM application for running a task ( bulk update etc) automatically in periodic intervals.  For example  we need a scheduler to update Leave every month of 1st day approx 500 records and this has to be done automatically. I don't have any idea about scheduler perform by Console app. I have custom workflow its working but after 50 record update getting timeout error for rest record.

*This post is locked for comments

I have the same question (0)
  • Vardhan Profile Picture
    65 User Group Leader on at

    Hi Afroz Aman,

    You can write a Custom Console Application in VS, Then schedule this application using Windows task scheduler in CRM server.

    Link to create console application :

    msdn.microsoft.com/.../gg695803(v=crm.7).aspx

    To schedule your Application :

    technet.microsoft.com/.../cc748993(v=ws.11).aspx

    Hope this helps

  • Suggested answer
    antc Profile Picture
    2,909 on at

    Create a web app in Azure tonnes of info in google on scheduling etc. If you already have the custom workflow code your 9/10  of the way there. I have had a lot of API's loading 1000's of records that have ran flawlessly in Azure in the past. Also use to use SendGrid to send updates and alerts.

    Also if records are already in Dynamics don't forget https://mscrm2015asynchronousbatchprocess.codeplex.com/ works well, will run a process based on records from a fetch query and runs based on a built in scheduler.

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