# Loop inside a Loop in workflow

**URL:** <https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud, workflows\
**Created:** [May 16, 2024, 4:46pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773 "2024-05-16T16:46:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandramohans27](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chandramohans27](https://developer.sailpoint.com/discuss/u/chandramohans27)\
**Post date:** [May 16, 2024, 4:46pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773/1 "2024-05-16T16:46:31Z")

</div>

Has anyone achieved trying to use a loop inside a loop in a workflow?

---

<div class="post-metadata">

**Author:** ![iamnithesh](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/iamnithesh/32/42445_2.png) [@iamnithesh](https://developer.sailpoint.com/discuss/u/iamnithesh)\
**Post date:** [May 16, 2024, 5:02pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773/2 "2024-05-16T17:02:56Z")

</div>

It’s not possible to insert a loop inside another loop. I have burnt my fingers thinking I could do it 😆

---

<div class="post-metadata">

**Author:** ![ipobeidi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/ipobeidi/32/16000_2.png) [@ipobeidi](https://developer.sailpoint.com/discuss/u/ipobeidi)\
**Post date:** [May 16, 2024, 5:53pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773/3 "2024-05-16T17:53:52Z")

</div>

But you can Call a external Workflow that have a Loop in it 😉 if you need to have a Assync operation.

---

<div class="post-metadata">

**Author:** ![GOKUL\_ANANTH\_M](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gokul_ananth_m/32/14416_2.png) [@GOKUL\_ANANTH\_M](https://developer.sailpoint.com/discuss/u/GOKUL_ANANTH_M)\
**Post date:** [May 16, 2024, 8:51pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773/4 "2024-05-16T20:51:42Z")

</div>

Hi @chandramohans27 ,

Workflows with loops will be interesting. But loop inside loop in worklfow is not possible now. If you have any needs to use loop inside another loop you can create a chain workflow using External Triggers.

Create a main workflow from there, when needed call the external workflow.

You can raise an Idea about this via [Idea Portal](https://ideas.sailpoint.com/).

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 15, 2024, 8:52pm UTC](https://developer.sailpoint.com/discuss/t/loop-inside-a-loop-in-workflow/56773/5 "2024-07-15T20:52:13Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
