Hello Experts,
We have used out-of-the-box workflows to implement recurring requirement as specified below but we are getting an error in the workflow as:
"This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again. For information about workflow logic, see Help."
Note: The workflow is working fine in case it executes after every hour or more but we need to execute it every 5 minutes.
The requirement to implement in Dynamics 365 V8.2 on-premises as follows:
Create a recurring workflow that executes every 5 minutes and triggers another instance of the same workflow on each execution.
Consider a scenario,
On create of a record of Entity A, the recurring workflow gets started and wait until next 5 minutes.
After 5 minutes, it performs the logic and calls a new instance of the same workflow again to wait for the next 5 minutes.
The execution of the current workflow stops after calling a new instance of the same workflow.
ie. for each of the record of Entity A, there will always exist a waiting workflow.
Please help.
*This post is locked for comments