i want to select mdata type of field eg visualState in xtk:workflow, how to specify this attribute in querydef call
eg
var query = xtk.queryDef.create(
<queryDef schema={schemaName} operation="select" lineCount="1">
<select>
<node expr="visualState" alias="@visualState"/>
</select>
<where>
<condition expr={condition} />
</where>
</queryDef>
is this correct or is there special syntax to select such elements.
my javascript activity is hanging when i execute this query. it works fine when some simple attribute or element is specified for selection.