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 12

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
    13,758 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans