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)
Answered

Scheduled Run of a Dynamics CRM plugin

(0) ShareShare
ReportReport
Posted on by 410

Hi All,

In our Dynamics CRM we are using workflows and plugins (nothing unusual), however we have certain workflows that triggers a custom plugins as a step.

What i was wondering and trying to find, and testing is is there a way to create a scheduled workflow/MS flow that will run automatically only a certain CRM plugin, and if the plugin fails to either alert me via email or retry automatically to run it again?

I was looking for MS flow, which have visibility of CRM plugin base, and i can specify the plugin key or name that i want, however there is no (or i cannot see it) a action or trigger that will run this flow (lets say every 24 hours or to set a date and time when this to be run).

Hope someone have any advise or workaround.

Let me know if you need any clarification on my idea.

Regards

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    You could move your plugin code to Custom Workflow Activity(CWA), it wont be a lot of re-work. And then use your CWA in scheduled workflow to perform the task and if the task fails send an email from your workflow. I know you can use flow but in this case, CRM workflow and a CWA should be more than enough.

  • Verified answer
    Sreevalli Profile Picture
    3,256 on at

    Hi,

    follow the steps in the blog - https://alexanderdevelopment.net/post/2016/12/10/executing-dynamics-365-workflows-from-microsoft-flow/

    In the step 1 trigger, you can use recurrence action that helps you schedule for daily and trigger your current workflow from the steps

  • Radoslavov Profile Picture
    410 on at

    Hi Kokulan,

    Thanks for the response, i will try this and let you know how it went.

  • awalters Profile Picture
    3,079 on at

    Here's an article on scheduling Flows - docs.microsoft.com/.../run-scheduled-tasks

  • Radoslavov Profile Picture
    410 on at

    Thx Allison I've already checked this its is just the rest of the logic that I'm trying to figure out

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