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? 

  • Suggested answer
    RE: loop in workflows

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans