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
Thx Allison I've already checked this its is just the rest of the logic that I'm trying to figure out
Here's an article on scheduling Flows - docs.microsoft.com/.../run-scheduled-tasks
Hi Kokulan,
Thanks for the response, i will try this and let you know how it went.
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156