# Custom Code action not copying into Custum Property

**URL:** <https://community.hubspot.com/t/custom-code-action-not-copying-into-custum-property/37221>\
**Category:** Data Hub\
**Created:** [May 12, 2021, 6:20pm UTC](https://community.hubspot.com/t/custom-code-action-not-copying-into-custum-property/37221 "2021-05-12T18:20:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![NicolasF](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nicolasf/32/86357_2.png) [@NicolasF](https://community.hubspot.com/u/NicolasF)\
**Post date:** [May 13, 2021, 5:49pm UTC](https://community.hubspot.com/t/custom-code-action-not-copying-into-custum-property/37221/5 "2021-05-13T17:49:27Z")

</div>

Hi Kyle,

Thanks for your response. However, I tried that, and all it does and give everyone the number 1.

What we actually want to accomplish is to have the first transaction to enter the workflow to have the number 1, the second transaction to enter the workflow(that belongs to another contact) to have number 2, the 3rd to have number 3, and so on.

Is there a way to do with (or without) a custom code ?

Thanks again !

---

_[View the full topic](https://community.hubspot.com/t/custom-code-action-not-copying-into-custum-property/37221)._
