# Need help in looping service

**URL:** <https://community.postman.com/t/need-help-in-looping-service/38551>\
**Category:** Help Hub\
**Tags:** setnextrequest\
**Created:** [August 25, 2022, 12:16pm UTC](https://community.postman.com/t/need-help-in-looping-service/38551 "2022-08-25T12:16:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oneappuser](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@oneappuser](https://community.postman.com/u/oneappuser)\
**Post date:** [August 25, 2022, 12:16pm UTC](https://community.postman.com/t/need-help-in-looping-service/38551/1 "2022-08-25T12:16:26Z")

</div>

Hello,

I have a requirement like- there are 4 APIs in a collection, where 3 APIs will get call once and the 4th API will be called repeatedly as it is having 9 rows of records.

1- Access Token  
2- Transaction Token  
3- Post/customer  
4- Patch/customer(its having 9 rows of data)

I have used postman.setnextrequest(Patch/customer). But issue is that its calling 9 times but the same record again and again. Not shifting to the next record. I don’t have much knowledge on looping. Please help. Thanks in advance !!
