Forum Discussion
christopher_gillis
8 years agoNew Member
Hi Kalle,
Typically AML queries only return the most current versions of items, but you can override this functionality by adding a property like below to your query.
Christopher Gillis Aras Labs Software Engineer
<generation condition="gt">0</generation>
By manually querying for the generation like this, all versions of the items will be returned. You could then perform a search for specific permission_ids with something like below.
<permission_id condition="in">95475AE006E7415794BDC93808DC04D2,A43FE707C3C54C90AD660D27A81AC58D</permission_id>
Chris
Christopher Gillis Aras Labs Software Engineer