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

Announcements

No record found.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans