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)

Recurring workflow settings

(0) ShareShare
ReportReport
Posted on by 2

I have written a custom work flow which is registered on account entity . I want this workflow to run after every 10 minutes to create tasks.  the workflow works fine when i register it on record created . but it does not trigger when i schedule it for every 10 minutes.

any one can help plz

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Royal King Profile Picture
    27,686 on at

    To run workflow recurrence for every 10 minutes , here are the steps

    1. Create a new Entity called Workflow Scheduler with name and Next execution Time ( Date time ) field.

    2. Create new workflow based on the new entity " Workflow scheduler" and set to run whenever field " Next execution time" changes

    3. Add a step with wait condition  timeout until "Next execution Time".

    4.  after time out add a step to call child workflow , that is your workflow that creates task and in next step update the "Next execution time" with current date time + 10 minutes.

    This will execute your child workflow for every 10 minutes but for the first time you need to add one same record of "Workflow scheduler" and manually initiate the workflow to run this recurrence going forward.

  • zia ul haq Profile Picture
    2 on at

    can't it be done without creating workflow scheduler entity ? by using wait condition

  • Suggested answer
    Deepesh161 Profile Picture
    6,317 on at

    Some considerations here are:

    1. How many records do you think will be running per day?
    2. How much processing resources are available at server?
    3. How much recurrence do you need?

    Wait conditions can drastically use up resources via CRM Async Service. 

    If you want you can make a custom console and add it window service/scheduler instead with recurring time.

  • Royal King Profile Picture
    27,686 on at

    if you run workflow for multiple records for every 10 minutes it's going to consume lot of resources and you may see performance issue on application. Rather running multiple workflows for every 10 minutes i would go with scheduled process that will create task in bulk for every 10 minutes based on your condition.

  • zia ul haq Profile Picture
    2 on at

    actually i mentioned it 10 minutes only for my own test purpose..  basically this workflow will be scheduled like it should automatically run every week and check if their are any contracts are going to be expired , the owners of those contracts will be informed through email...

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