# How to update property of collection with value of record from another collection

**URL:** <https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091>\
**Category:** Get Help\
**Created:** [May 1, 2021, 7:20am UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091 "2021-05-01T07:20:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Igor](https://forum.adalo.com/u/Igor)\
**Post date:** [May 1, 2021, 7:20am UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/1 "2021-05-01T07:20:40Z")

</div>

Hello  
I have 2 collections: Tasks and Status.  
Both are linked with relationship ( A **Task** can only have one **Status** , A **Status** can have multiple **Tasks** ).  
I need to update Task’s Status depends on different actions. Status not as text property but as relation in collection. I can’t understand how to do this.  
I Tried to create new Task via Form and to set Status as Automatic Field but there is no available value

 ![Status](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/a/a5b761fd49317955edad02ce0c6e1a8701e63fcb.jpeg)  
Also I tried to do this with help of Update Action after pressin on Button  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/5ca59726f6d1180e26b4fe5cfbbe279738b89558.png)

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [May 1, 2021, 10:30am UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/2 "2021-05-01T10:30:21Z")

</div>

Hi @Igor,

I would advise to use a “single item list” approach: you convert button to a list of statuses, filtered by status name (set the one you need).  
Then “current status” data will become available for button’s action, and you can change the Task’s status to Current status.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![Igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Igor](https://forum.adalo.com/u/Igor)\
**Post date:** [May 1, 2021, 10:43am UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/3 "2021-05-01T10:43:45Z")

</div>

@Victor thanks for response. In my case I’ve already used this magical approach to send other important data to the next step. So there is no possibility to use “single item list” for Statuses. Are there any ideas to solve my issue?

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [May 1, 2021, 12:05pm UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/4 "2021-05-01T12:05:02Z")

</div>

Hi @Igor,

Well this couldn’t be seen on your screenshots 😉  
In order to change the status for current task, you need to get an access to “current status” somehow. You can either get it via single-item list (by the way, you can have list inside another list, so I don’t quite see why can’t you use it in your case).  
Or on a previous screen you can have list of statuses + filter, and send current status from there.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![Igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Igor](https://forum.adalo.com/u/Igor)\
**Post date:** [May 1, 2021, 12:33pm UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/5 "2021-05-01T12:33:18Z")

</div>

@Victor Giving out information little by little 😁  
“…by the way, you can have list inside another list, so I don’t quite see why can’t you use it in your case” - It’s a great trick, didn’t know it.  
Thank you:)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [May 11, 2021, 12:33pm UTC](https://forum.adalo.com/t/how-to-update-property-of-collection-with-value-of-record-from-another-collection/12091/6 "2021-05-11T12:33:33Z")

</div>

Closed on May 11, 2021, 12:33pm UTC

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