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 start executable (or batch) on server by workflow (or any other idea)

(0) ShareShare
ReportReport
Posted on by

Dear reader,
we have a CRM 2016 on premise installation, long time ago choosen because of the interfacing ease.

One of the interface streams runs every 5 minutes by Windows Task Scheduler on the server, looks if there's anything to process, logs about this and processes if necessary. I really don't like this 5 minute interval and would like a system that actually reacts on events in CRM.
A scenario could be a workflow plugin that fires the executable (formerly started by scheduler) as soon as a record meets the desired state.

Anyone have any ideas on this? Maybe experience? Pings to already existing plugin activities? Risks?

Thanks for thinking along.
Best regards,

Jeroen

*This post is locked for comments

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: How to start executable (or batch) on server by workflow (or any other idea)

    Hi Jeroen,

    Majorly for tasks like these window schedular is a good approach and i have personally used it.

    However if you have trigger in CRM already - I would suggest you register a plugin on that event and do everything there rather then calling the exe if feasible?

    otherwise , simply call the exe from plugin.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans