Hi,
To summarize the process :
One of our clients environment we have SLA on a custom activity entity. When an incident created, we create its activity then sla step begins.
After its time expired, SLA workflow tries to update the field "Expired", then on the update of "Expired" field another async workflow triggers and update the record statuscode. We have 3 different plugins that trigger on this entitiy statuscode changes. These plugins do different things but one of them updates back Incident level so another task gets created and new SLA starts for this task. This goes on depends how many sla steps there are. The 3 plugins that triggers on statuscode are at same level. Another plugin that triggers when Incident Sla level updated is a child plugin and it creates a new task as i mentioned.
Error:
On this custom incident task entity, When the first step begins and after its expired, SLA Workflow tries to update as Expired. But it can't because plugins throw exception of infinite loop. But when i try to update this "Expired" field as manually from form, everything works as good. So i debugged it, when these plugins triggered from SLA wf, they come as depth 8. If i update from form, it comes as depth 2. I changed MaximumDepth from 8 to 15 to observe. Now most of them works fine but there is still infinite loop errors happen. If something stuck in loop, same things should happen when i update this field on the form. What should i check or do you have any idea why is this happening?