Notifications
Announcements
No record found.
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?
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.
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
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 96 Super User 2025 Season 2
Jimmy Passeti 50 Most Valuable Professional
Gerardo RenterÃa Ga... 49 Most Valuable Professional