# \#if-state

**URL:** https://community.postman.com/tag/if-state/632.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Searching response for dynamic value based on specific string](https://community.postman.com/t/searching-response-for-dynamic-value-based-on-specific-string/45682)

<div class="topic-metadata">

**Author:** [@meatinaplasticsack](https://community.postman.com/u/meatinaplasticsack)\
**Replies:** 2\
**Last updated:** [March 28, 2023, 1:43pm UTC](https://community.postman.com/t/searching-response-for-dynamic-value-based-on-specific-string/45682 "2023-03-28T13:43:00Z")

</div>

Hello, I have this test case: I need to search response for ID (dynamic value) and store it in variable for reusing it in next request. To find this ID, I need to go through array objects, find specific string/value in …
