# Bug with {InstanceName} in UDT with subfolder?

**URL:** <https://forum.inductiveautomation.com/t/bug-with-instancename-in-udt-with-subfolder/9036>\
**Category:** Ignition\
**Created:** [September 10, 2014, 1:18pm UTC](https://forum.inductiveautomation.com/t/bug-with-instancename-in-udt-with-subfolder/9036 "2014-09-10T13:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 10, 2014, 1:18pm UTC](https://forum.inductiveautomation.com/t/bug-with-instancename-in-udt-with-subfolder/9036/1 "2014-09-10T13:18:42Z")

</div>

7.7.1-rc2

I have a UDT with subfolders and tag inside

the {InstanceName} as value for a memory tag in udt root, return the right instance name.

the {InstanceName} as DisplayPath expression for an alarm on a tag in a subfolder return the name of the folder but not the name of the udt instance !!!

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4f21a4b10caa81d507218ec8c84fbc1fb0bd1021.png)  

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/485f31998de4a0cb49040d092a9731e2bc87fbd3.png)  

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b75def5654175bb1fd3d89777c5ef3f10fb1a58e.png)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3c9efc179d1412472acba7fcbab7d5d705e8e4bf.png)
