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 :
Customer experience | Sales, Customer Insights,...
Answered

I want to create a job which executes in every 30 min using OOB workflow. But it is getting stopped after some interval. How to run it every time?

(0) ShareShare
ReportReport
Posted on by 77

I have created two system workflows that will trigger after every 30 mins and call each other having the similar logic to stop it for going on infinite loop.

But now it is working for some indefinite time then getting stopped without any error. Why?

Any suggestion how to run a workflow every 30 mins interval?

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi Namrata,

    This is because Dynamics 365 for Customer Engagement has a built in safeguard to prevent infinite loops, which can severely bog down the system.  If a workflow calls itself more than seven times within an hour, the eighth attempt will fail.

    The maximum depth for a recurrence/loop is 8; however, the depth is reset after 1 hour of inactivity (wait).

    Therefore, it is not recommended to set the running interval of the workflow to less than 1 hour.

    To make the workflow run every 30 mins interval, you need to add a Wait step - Timeout 30 mins and start the child workflow.

    pastedimage1577428530551v1.png    pastedimage1577428551626v2.png    pastedimage1577428591387v3.png

    Please refer to these blogs for details:

    https://us.hitachi-solutions.com/knowledge-center/recursive-workflows-dynamics-365-customer-engagement/

    https://www.axpulse.com/2018/01/10/scheduling-recurring-workflows-in-microsoft-dynamics-365-crm-cloud/

    http://gonzaloruizcrm.blogspot.com/2011/05/quite-often-we-have-business-process.html

  • Verified answer
    Vipin J Profile Picture
    1,603 on at

    Hi,

    Here is how to create a recurring workflow in dynamic 365 CRM with typical business scenario to understand it better

    https://vjcity.blogspot.com/2019/06/how-to-create-recurring-workflow-in.html

  • Vipin J Profile Picture
    1,603 on at

    Also, one must Cautiously change logic of existing workflow in Dynamic CRM and must be aware that there could be multiple instance of workflow running in production environment.

    Refer below article

    vjcity.blogspot.com/.../cautiously-changing-logic-of-existing.html

    https://vjcity.blogspot.com/2019/09/cautiously-changing-logic-of-existing.html

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans