# Import data to Sub List won't trigger list action

**URL:** <https://community.yeeflow.com/t/import-data-to-sub-list-wont-trigger-list-action/320>\
**Category:** Ask the community\
**Created:** [October 17, 2024, 10:01am UTC](https://community.yeeflow.com/t/import-data-to-sub-list-wont-trigger-list-action/320 "2024-10-17T10:01:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mcyc](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Mcyc](https://community.yeeflow.com/u/Mcyc)\
**Post date:** [October 17, 2024, 10:01am UTC](https://community.yeeflow.com/t/import-data-to-sub-list-wont-trigger-list-action/320/1 "2024-10-17T10:01:24Z")

</div>

Hi there,

We are trying to update field2 based on field1’s value via list action (Trigger the list action when field1 is changed). And it works well when we add the value to field1 manually. However, the list action hasn’t been triggered when we are using import data function.

Can this be fixed? And is there any alternative solution? Thanks.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/094aa667a5442b44315ebc2b7f3419197f34118e.png)

![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/848e00b713b0be204831b2bb518a8c9f7bf5d0fa.png)

![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/abcf5445cf923fb4397e4ad6c3c19718e82d0dfa.png)

---

<div class="post-metadata">

**Author:** ![frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@frank](https://community.yeeflow.com/u/frank)\
**Post date:** [October 21, 2024, 1:22am UTC](https://community.yeeflow.com/t/import-data-to-sub-list-wont-trigger-list-action/320/2 "2024-10-21T01:22:35Z")

</div>

@Mcyc Yes, currently import data will not trigger the list action. Please pre-fill the data in excel before importing.

---

<div class="post-metadata">

**Author:** ![Mcyc](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Mcyc](https://community.yeeflow.com/u/Mcyc)\
**Post date:** [October 21, 2024, 7:56am UTC](https://community.yeeflow.com/t/import-data-to-sub-list-wont-trigger-list-action/320/3 "2024-10-21T07:56:43Z")

</div>

@frank Thanks for your confirmation.

Lucky, I was able to figure an alternative solution out. Here to share with someone who is facing the same issue.

Although import data will not trigger the list action, we can achieve this via listen to the automatic numbering column in Sub List.

We can first set corresponding list action for the automatic numbering column in Sub List. The custom code will execute and fill the row number to the automatic numbering column after the data is imported. When the column is filled, change is detected, then the list action will be triggered.

For automatic numbering column creation, please refer to this post:  
[https://support.yeeflow.com/en/articles/8656682-using-custom-code-to-execute-automatic-numbering-for-sub-lists](https://support.yeeflow.com/en/articles/8656682-using-custom-code-to-execute-automatic-numbering-for-sub-lists)

Cheers.
