AML problem using action='update' (in order to modify an item without changing generation)
Hi I am facing a problem with an AML expression. <AML> <Item action='update' type='myItem' where="[myItem]._title='myItemName' and [myItem].generation='1' "> <myItemProperty> <Item type="myItemProperty" action="get" select="id"> <keyed_name>myItemPropertyName</keyed_name> </Item> </myItemProperty> </AML> That AML works with edit but it changes the generation... I get that error whatever my item is locked or unlocked... <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"> <SOAP-ENV:Body> <SOAP-ENV:Fault xmlns:af="">www.aras.com/InnovatorFault"> <faultcode>SOAP-ENV:Server.ItemIsNotLockedException</faultcode> <faultstring><![CDATA[Aras.Server.Core.ItemIsNotLockedException]]></faultstring> <detail> <af:legacy_detail><![CDATA[Aras.Server.Core.ItemIsNotLockedException]]></af:legacy_detail> <af:exception message="Aras.Server.Core.ItemIsNotLockedException" type="Aras.Server.Core.ItemIsNotLockedException" /> <af:item type="myItem" id="5CC09554029A4E76AD0601C9F8C2AC33" /> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Any idea ? Best regards, Hadrien11KViews0likes2Comments