Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Workflow error: This workflow job was canceled because the workflow that started it included an infinite loop. Correct the workflow logic and try again....

$
0
0

Hi,

When workflow started I get a error:

'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.'

Part of code:

AssociateRequest areq = new AssociateRequest();
areq.Target = new EntityReference("a24_assessment_questions", new Guid(question.Id.ToString()));
areq.RelatedEntities = new EntityReferenceCollection();
areq.RelatedEntities.Add(new EntityReference("systemuser", new Guid(evaluator.Id.ToString())));
areq.Relationship = new Relationship("a24_assessment_questions_systemuser");
organizationService.Execute(areq);

If someone knows have to solve this , please help me..

Thanks in advance..


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>