How to get relationship ITEM linked to latest released source ITEM in AML

オフライン

hello,

The datamodel is simple : 

2 ITEM type = "itmSource" and "tmRelated"
Both are versionnable and with lifecycle 
The last state of lifecycle allows to set is_released to "1" on itmSource 


1 relation "Relation" between itmSource and itmRelated

Question : in AML, How to GET on relation all relationship  where source_id is the latest released state.

this AML request doesn't work fine :

<Item action='get' type='Relation'>
<source_id>
<Item type='itmSource' action='get' queryType="Released" queryDate="2022-02-11T23:59:59">
</Item>
</source_id>
</Item>


Do you have an idea ?
thanks