# Tag Paths from Component script don't match results from Expression Transform scripts

**URL:** <https://forum.inductiveautomation.com/t/tag-paths-from-component-script-dont-match-results-from-expression-transform-scripts/35174>\
**Category:** Ignition\
**Tags:** ignition80, scripting, perspective\
**Created:** [May 29, 2020, 6:15pm UTC](https://forum.inductiveautomation.com/t/tag-paths-from-component-script-dont-match-results-from-expression-transform-scripts/35174 "2020-05-29T18:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [May 29, 2020, 6:15pm UTC](https://forum.inductiveautomation.com/t/tag-paths-from-component-script-dont-match-results-from-expression-transform-scripts/35174/1 "2020-05-29T18:15:34Z")

</div>

Is there something obvious I’m not doing correctly?

The two cases below don’t match:

**CASE 1:**  
Script in a custom object “stationTagRoot” (Expression binding with Script Transform):

```auto
	stationNum = 701
	try:
		tagPath = '[default]Plant/Line/'
		browse_result = system.tag.browse(tagPath, {'name':str(stationNum)}).getResults()
		stationTagRoot = browse_result[0]
	except:
		stationTagRoot = {"fullPath": "nope","hasChildren": bool(0), "name": "nope", "tagType": "nope"	}
	return stationTagRoot

```

The script associated with the onActionPerformed Event a button:  
` system.perspective.navigate(view = 'Sandbox Subview', params = {'stationTagRoot':self.custom.stationTagRoot})`

Below is the correct behavior that I’m getting when the  
`{"fullPath":"[default]Plant/Line/701","hasChildren":true,"name":"701","tagType":"Folder"}`

**CASE 2:**  
Script associated with the onActionPerformed Event a button:

```auto
		stationNum = 701
		try:
			tagPath = '[default]Plant/Line/'
			browse_result = system.tag.browse(tagPath, {'name':str(stationNum)}).getResults()
			stationTagRoot = browse_result[0]
		except:
			stationTagRoot = {"fullPath": "nope","hasChildren": bool(0), "name": "nope", "tagType": "nope"	}
		system.perspective.navigate(view = 'Sandbox Subview', params = {'stationTagRoot':stationTagRoot})

```

RESULT in a label in the Sandbox Subview:  
`{"fullPath":{"prop":null,"pathParts":["Plant","Line","701"],"source":"default"},"hasChildren":true,"name":"701","tagType":"Folder"}`

The object put int the value of the “fullPath” key is not what I expected. The rest matches
