Populate the WBS Elements for corresponding Activities2 in a project

<AML>

 <Item type="WBS Activity2" action="get" select="name" where="WBS_Activity2.related_id IN (SELECT id FROM INNOVATOR.select_activities('9CB5E2CBBBDB1728B01882'))">

<Relationships>

<Item type="Activity2" action="get" select="related_id(name)"/>

</Relationships>

</Item>

</AML>

 

It doesn't fetch records can someone help with the correct where clause, How can I rewrite this query using just AML?

Thanks in advance!