# Compound Action - Added New Row, Setting Column Values

**URL:** <https://community.glideapps.com/t/compound-action-added-new-row-setting-column-values/74244>\
**Category:** Ask for Help\
**Created:** [June 19, 2024, 6:17pm UTC](https://community.glideapps.com/t/compound-action-added-new-row-setting-column-values/74244 "2024-06-19T18:17:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HouseHippo](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@HouseHippo](https://community.glideapps.com/u/HouseHippo)\
**Post date:** [June 19, 2024, 6:17pm UTC](https://community.glideapps.com/t/compound-action-added-new-row-setting-column-values/74244/1 "2024-06-19T18:17:38Z")

</div>

I’m using a compound action to add a new row and generate a Unique Identifier. Works fine.

I then want to copy that UUID into another cell in that row, and muck about with the data in this new row, within the same compound action.

However any additional “Set Column Value” sub-actions I do are applying to the FIRST row of the sheet. Not the LAST row (the freshly created one).

How do I get the sub-actions to edit the fresh row I just created?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/1/b1a12e4cc5ccb97e3cb03a1d5efa02edcd0bec09.png)

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [June 19, 2024, 7:56pm UTC](https://community.glideapps.com/t/compound-action-added-new-row-setting-column-values/74244/2 "2024-06-19T19:56:49Z")

</div>

Try creating a self relation and then with your Set Column action, instead of “This Item” its via Relation.

So maybe the relation would be built on the Unique ID that youre creating in the Add Row action

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 19, 2024, 8:59pm UTC](https://community.glideapps.com/t/compound-action-added-new-row-setting-column-values/74244/3 "2024-06-19T20:59:32Z")

</div>

Another need for this feature:

> [@\[REQUEST\] Return RowID of newly created row from an Add Row action](https://community.glideapps.com/t/request-return-rowid-of-newly-created-row-from-an-add-row-action/74020):
>
> Whenever I create a custom form, I’d like to return the row ID of the newly created row back to the parent table. Currently, this is only possible when adding a row via the API. My request is to add a new dropdown field on the Add Row action block That allows us to select a column to which will write the newly created row ID from the Add Row action. This is similar to the Glide API action blocks that allows us to write a response to a column once the action runs.
