Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Infinite loop when workflow runs

Posted on by Microsoft Employee

Hi all,

I created a workflow that updates values in an entity and send mails. It was working until today morning. Now when I try to run, I get this 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."

I have not used any pluggins. Please suggest what could be the wrong step here.

Regards 

Deepak Kumar

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Infinite loop when workflow runs

    Thanks and I found the solution.

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Infinite loop when workflow runs

    Hi

    Please check whether you are updating the same field for which you are triggering the workflow (update of this field).

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Infinite loop when workflow runs

    The custom activity must be triggering itself when you are trying to update the entity. Make sure you are not including the same field (which triggers the workflow) in the update object. If its is mandatory to update the same field, you can check the depth at the first place to avoid infinite loop.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans