# Getting the List of UDT Instances from folder and moving that instance to the another folder,

**URL:** <https://forum.inductiveautomation.com/t/getting-the-list-of-udt-instances-from-folder-and-moving-that-instance-to-the-another-folder/106465>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting, python\
**Created:** [May 20, 2025, 6:03pm UTC](https://forum.inductiveautomation.com/t/getting-the-list-of-udt-instances-from-folder-and-moving-that-instance-to-the-another-folder/106465 "2025-05-20T18:03:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adarsh\_Shelar](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Adarsh\_Shelar](https://forum.inductiveautomation.com/u/Adarsh_Shelar)\
**Post date:** [May 20, 2025, 6:03pm UTC](https://forum.inductiveautomation.com/t/getting-the-list-of-udt-instances-from-folder-and-moving-that-instance-to-the-another-folder/106465/1 "2025-05-20T18:03:32Z")

</div>

Hi Connection,  
**As I am very new to the scripting ,**  
I have the following tags associated with UTD instances. I need to execute the tag value change script, but I can also move the entire instance (1741358218359) to a different folder since my TestOutlook folder refreshes with the new tag.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f6fa1901a148d4cc79e689a77abce1fcba5ff799.png)

How can I obtain the list of UDT member instances present in the TestOutlook? Additionally, I would like to move the first instance from each TestOutlook to a different folder. **Any insights or ideas on the script would be greatly appreciated.**

Regards,  
Adarsh R S

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [May 20, 2025, 9:11pm UTC](https://forum.inductiveautomation.com/t/getting-the-list-of-udt-instances-from-folder-and-moving-that-instance-to-the-another-folder/106465/2 "2025-05-20T21:11:48Z")

</div>

**To answer the how on reading tags in a folder and moving tags around:**  
I would recommend looking at [system.tag.browse](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-browse) to be able to see the tags inside of a folder.

You can then use the `tagPath` from one of the values returned in the browse to call [system.tag.move](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-move) which will allow you to move the entire tag.

* * *

I am not sure I understand what you are meaning with the first part of your question

> [@Adarsh\_Shelar](#):
>
> I need to execute the tag value change script, but I can also move the entire instance

What are you trying to actually accomplish with all of this? Maybe there is a better solution myself or others can assist you with.
