# How can i join two array based on match value between them?

**URL:** <https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242>\
**Category:** Help Hub\
**Tags:** tests, postman-flows\
**Created:** [May 20, 2024, 3:11am UTC](https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242 "2024-05-20T03:11:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguelpeccin](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@miguelpeccin](https://community.postman.com/u/miguelpeccin)\
**Post date:** [May 20, 2024, 3:11am UTC](https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242/1 "2024-05-20T03:11:26Z")

</div>

Hi! I getting started with postman flows!

So I have two arrays. Here an example

[  
{  
“workflow”: 1,  
“description”: “Sector 1”  
},  
{  
“workflow”: 2,  
“description”: “Sector 2”  
},  
]

and other array

[{  
“workflow”: 4,  
“\_deleted”: false,  
“dimension1”: [  
“416”  
]  
},  
{  
“workflow”: 5,  
“\_deleted”: false,  
“dimension1”: [  
“417”  
]  
}]

I need to join these arrays by their workflow number and i need to output workflow, description and the list of dimension1 …

In postman y got both list after execute two requests… but I cant merge or join them…  
Can someone help ? thanks

---

<div class="post-metadata">

**Author:** ![lunar-module-1](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-1/32/26132_2.png) [@lunar-module-1](https://community.postman.com/u/lunar-module-1)\
**Post date:** [June 10, 2024, 4:31pm UTC](https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242/2 "2024-06-10T16:31:24Z")

</div>

This is duplicated by [Managing complete objects in json](https://community.postman.com/t/managing-complete-objects-in-json/62031)?

---

<div class="post-metadata">

**Author:** ![miguelpeccin](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@miguelpeccin](https://community.postman.com/u/miguelpeccin)\
**Post date:** [June 10, 2024, 9:37pm UTC](https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242/3 "2024-06-10T21:37:00Z")

</div>

Yes! same need! sorry… it can be closed so!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [July 10, 2024, 9:37pm UTC](https://community.postman.com/t/how-can-i-join-two-array-based-on-match-value-between-them/61242/4 "2024-07-10T21:37:56Z")

</div>

Closed on July 10, 2024, 9:37pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
