# How can I poll a request in Postman until a task reaches "Successful" or "Failed" status?

**URL:** <https://community.postman.com/t/how-can-i-poll-a-request-in-postman-until-a-task-reaches-successful-or-failed-status/81288>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [June 18, 2025, 9:04am UTC](https://community.postman.com/t/how-can-i-poll-a-request-in-postman-until-a-task-reaches-successful-or-failed-status/81288 "2025-06-18T09:04:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [June 18, 2025, 1:36pm UTC](https://community.postman.com/t/how-can-i-poll-a-request-in-postman-until-a-task-reaches-successful-or-failed-status/81288/5 "2025-06-18T13:36:51Z")

</div>

A while back I shared a method using the Collection Runner that might be adapted here, it was a different context and a few years ago so it’s not going to be a straight copy and paste solution.

> [@Waiting for elements in the response goes to infinite loop](https://community.postman.com/t/waiting-for-elements-in-the-response-goes-to-infinite-loop/17583):
>
> I was wondering if anyone could help me out here:) I have a POST request to make a booking and then a Get request to fetch ‘below booking status’ - BOOK\_RECEIVED, BOOKING and BOOKED response json:- { "statusHistory": [ { "message": "booking received", "datetime": "2020-11-11T00:39:15.043Z", "statusCode": "BOOK\_RECEIVED" }, { "message": "booking", "datetime": "2020-11-11T00:39:15.149Z", "statusC…

---

_[View the full topic](https://community.postman.com/t/how-can-i-poll-a-request-in-postman-until-a-task-reaches-successful-or-failed-status/81288)._
