# Loop request based on some logic in postman flow

**URL:** <https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704>\
**Category:** Help Hub\
**Tags:** loops, postman-flows\
**Created:** [April 8, 2024, 1:15pm UTC](https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704 "2024-04-08T13:15:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony-asish](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@antony-asish](https://community.postman.com/u/antony-asish)\
**Post date:** [April 8, 2024, 1:15pm UTC](https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704/1 "2024-04-08T13:15:48Z")

</div>

I have the following request flow

1. I create the project
2. Then compare the project ,  
3 . call Get Project API for Get Status  
4 . Then check status  
=\> Is status is 40  
=\>Is status is not 40, call agiain 3 step like call GET Project API again
3. When status is 40 it will stop

 ![Screenshot 2024-04-08 184127](https://us1.discourse-cdn.com/getpostman/original/3X/9/b/9b3d59539976c700f21e3304c37ec8857b282dd2.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 8, 2024, 1:29pm UTC](https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704/2 "2024-04-08T13:29:03Z")

</div>

Made this topic public on April 8, 2024, 1:29pm UTC



---

<div class="post-metadata">

**Author:** ![flows-daniel](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/flows-daniel/32/25516_2.png) [@flows-daniel](https://community.postman.com/u/flows-daniel)\
**Post date:** [April 8, 2024, 4:56pm UTC](https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704/3 "2024-04-08T16:56:06Z")

</div>

Hi @antony-asish

Welcome to the forums!

What is your question that I can assist with here?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [May 8, 2024, 4:56pm UTC](https://community.postman.com/t/loop-request-based-on-some-logic-in-postman-flow/59704/4 "2024-05-08T16:56:19Z")

</div>

Closed on May 8, 2024, 4:56pm UTC

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