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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 44

#2
sannavajjala87 Profile Picture

sannavajjala87 25

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 22 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans