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)

how to create scheduled process in crm?

(0) ShareShare
ReportReport
Posted on by

Hello, I'd like to create a scheduled process in CRM, to run every 12 hours. I did some googling, and people seem to be taking some different approaches.

What's the simplest and most straightforward way to implement this in CRM? I've created a basic process with the following condition:

Process Timeout Equals 12 Hours

The associated Step is a reference to an associated custom workflow class. Will this approach accomplish what I'm trying to achieve? Or is additional configuration required to make this process run as a scheduled job every 12 hours?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Axiom Profile Picture
    40 on at

    CRM does not have a concept of scheduled task, so what do you want to solve?

    If you are on-premise you can develop a Windows Scheduled Task that can trigger it for you and then go from there.

  • Community Member Profile Picture
    on at

    Hi Axiom - I went to Windows Task Scheduler but it only seems to provide a daily level of granularity (not hourly, which is what I need).

    Also, a task scheduled in this way should start a program or run a script.  So what program or script could I run from WTS to trigger an on-demand process in CRM?

  • AFTAB HUSSAIN Profile Picture
    on at
  • Suggested answer
    Vijay Waghmare Profile Picture
    on at

    Please refer below URL for execution workflow programmatically

    msdn.microsoft.com/.../gg309600.aspx

    Create a console application for you functionality,

    Since you have verified WTS run once in day, so you can create 2 WTS and point them to same .exe generated from console application (12 hrs gap in between).

    Hope it help.

    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

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