<Item action="edit" type="Property" where="[Property].keyed_name = 'era_locked_by'">
<data_source keyed_name="locked_by_id">
<Item type="Property" action="get" select="id" where="[property].keyed_name = 'locked_by_id' and [property].source_id in (select it.ID from innovator.ITEMTYPE it where it.name = 'DOCUMENT')" />
</data_source>
</Item>
but when I run in Innovator Admin for instance, it returns <af:exception message="Aras.Server.Core.AmbiguousCriteriaException" type="Aras.Server.Core.AmbiguousCriteriaException" />
This is probably because of the nested Properties where statement, but is there any to make this work, without using actual id's?