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

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.

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

To answer the how on reading tags in a folder and moving tags around:
I would recommend looking at 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 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

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