Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Business Process Error - Infinite Loop - Workflow logic

Posted on by 30

Hello, 

I am creating a new workflow and processes with in the case entity in Dynamics 365. 

I have complete all the fields in the stages and want to test it live, but i keep receiving this error when attempting to create a new Case record.

pastedimage1573693234511v1.png

I have searched top to bottom and can not find any errors in the Process, Workflow, Fields, Stages...All other forms are working and successful. 

Please assist!!!

  • SeanaLee Profile Picture
    SeanaLee 30 on at
    RE: Business Process Error - Infinite Loop - Workflow logic

    Hi, here is the workflow process i created. 

    pastedimage1573749941791v1.png

    I can go into an already created case and change the process to use this, but can not create a new case. 

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Business Process Error - Infinite Loop - Workflow logic

    Hi ,

    Please share screenshot of the workflow ,make sure you are not updating or creating any case inside workflow steps .

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Business Process Error - Infinite Loop - Workflow logic

    Hi,

    As mentioned in the error message, this workflow is stuck in an infite loop which happens when you trigger the workflow on some field and within the workflow updates the same field.

    So when it updates, it again try to call itself and so on. I think after 8 tries, it will give you this error by default.

    You need to review your implementation and put some check to avoid update which could cause recursive infite loop problem.

    hulshof.eu/.../

    Hope this helps.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans