# Collection runner - Skip a request when CSV value is blank

**URL:** <https://community.postman.com/t/collection-runner-skip-a-request-when-csv-value-is-blank/30869>\
**Category:** Help Hub\
**Tags:** tests, variables, collections\
**Created:** [December 20, 2021, 3:36pm UTC](https://community.postman.com/t/collection-runner-skip-a-request-when-csv-value-is-blank/30869 "2021-12-20T15:36:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nrelkov](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/nrelkov/32/10495_2.png) [@nrelkov](https://community.postman.com/u/nrelkov)\
**Post date:** [December 20, 2021, 11:27pm UTC](https://community.postman.com/t/collection-runner-skip-a-request-when-csv-value-is-blank/30869/2 "2021-12-20T23:27:10Z")

</div>

Hi @daniel.sessions

I think your issue may have been answered in another post a little while ago. There are a couple recommendations for solutions in there. The comment that I added at the end may be applicable to your issue as well. Let me know if there are still concerns.

> [@Checking dynamic variables in pre-request script](https://community.postman.com/t/checking-dynamic-variables-in-pre-request-script/30873/4):
>
> Hi @rafall92 If you want to have it determined if you need to run your Request, what I usually end up doing (not sure if there is a better way) is to create a Request that runs before the request that you use. Example: Request 1 (“DataCheck”): No Pre-Request script Have request use Get, if you have an endpoint that is a ping response, use that Tests if(pm.iterationData.get(‘name’) == “”) { postman.setNextRequest(null); } else { postman.setNextRequest(“MyRequest”); } Request 2 (“MyReq…

Hope this helps!

---

_[View the full topic](https://community.postman.com/t/collection-runner-skip-a-request-when-csv-value-is-blank/30869)._
