web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

loop in workflows

(1) ShareShare
ReportReport
Posted on by 10

Hi 

I want to know how could we create a loop in workflows ?

for example after applicant send a request to manager  and he choose edit ,request should turn back to applicant for editing and again to manager for n times until manager approve the request. how could it be possible? 

I have the same question (0)
  • Suggested answer
    Carlos Eduardo Fontolan Profile Picture
    on at

    Hello Fateme,

    I hope you are well.

    You can create a workflow and set up that it can trigger based on record created or field update and also based on child execution.

    In case that you configure child execution, you can recall the same workflow but using the child request.

    It is very important to clarify that if this scenario occurs a lot of times in a few minutes, the workflow will be stopped due to detected looping.

    The depth used to detect a loop is configured on the MaxDepth setting. docs.microsoft.com/.../microsoft.xrm.sdk.deployment.workflowsettings.maxdepth

    In online environments, this configuration can't be changed, and the value is 8.

    Check these documentations about best practices: docs.microsoft.com/.../best-practices-workflow-processes

    docs.microsoft.com/.../best-practices-sdk

    I hope it can help you.

    Best Regards,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans