web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans