# How to change mapping values of a csv after each iteration of collection run?

**URL:** <https://community.postman.com/t/how-to-change-mapping-values-of-a-csv-after-each-iteration-of-collection-run/49269>\
**Category:** Help Hub\
**Tags:** tests, variables, collections, data-driven\
**Created:** [July 6, 2023, 4:21am UTC](https://community.postman.com/t/how-to-change-mapping-values-of-a-csv-after-each-iteration-of-collection-run/49269 "2023-07-06T04:21:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suchithf](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@suchithf](https://community.postman.com/u/suchithf)\
**Post date:** [July 6, 2023, 4:21am UTC](https://community.postman.com/t/how-to-change-mapping-values-of-a-csv-after-each-iteration-of-collection-run/49269/1 "2023-07-06T04:21:32Z")

</div>

My question : How to change mapping values of a csv after each iteration of collection run ?

change values of two rows after each run with a code in [re request script.

Details (like screenshots):  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/9/093f3f7159a9a2e5b75e8aa62937260e0db1347c.png)

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [July 6, 2023, 8:52am UTC](https://community.postman.com/t/how-to-change-mapping-values-of-a-csv-after-each-iteration-of-collection-run/49269/2 "2023-07-06T08:52:01Z")

</div>

You can’t as Postman doesn’t really have native access to the file system to re-save or update files.

There some options in relation to running Postman as a node.js app but that is advanced functionality and you need to have a good understanding of node and JavaScript to even consider that route.
