Forum Discussion
I logged into AML as admin - I get a fault string saying this is not the latest version - i know that but i still want to lock it.
<AML>
<Item type="Document" action= "lock" id="68FDC33766674A2F9E1A34CBC77F3516">
</Item>
</AML>
2020-04-28 12:36:24 [Query] [Result] > 0 item(s) found in 16 ms
<faultstring>The version of the Item you are trying to lock is not current. Please lock the current version.</faultstring>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"
xmlns:i18n="">http://www.aras.com/I18N">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>1</faultcode>
<faultactor />
<faultstring>The version of the Item you are trying to lock is not current. Please lock the current version.</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Yes, you cannot able to lock the In Change item but AML query what I provided should work. Can you check the permission of the inchange part in UI ?
Check which identity has update access and add your account / admin into that identity
- dkinsley6 years agoCreator II
I have an older version of Innovator. I looked at the life cycle for IN Change and there is no permissions listed.
When I use what you provided in AML (when logged in as admin), I get this...
<AML>
<Item type="Document" action= "edit" id="68FDC33766674A2F9E1A34CBC77F3516">
<name></name>
</Item>
</AML>2020-04-28 18:10:37 [Query] [Result] > 0 item(s) found in 12 ms
xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
1<SOAP-ENV:Envelope2xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../">
3<SOAP-ENV:Body>4<Result />
5</SOAP-ENV:Body>6</SOAP-ENV:Envelope>- Gopikrishnan6 years agoAccelerator II
I have checked the permission for In Change Document item type in ARAS instance and only members of ARAS PLM role has access to edit it.
Step 1: Navigate to Administration --> Permissions --> Search and open Released Document permission
Step 2: Lock and add Innovator Admin user under Access tab
Step 3: Save and Unlock Permission
Step 4: Relogin to AML studio or Nash as admin and run the query
<AML>
<Item action='lock' type='Document' id='68FDC33766674A2F9E1A34CBC77F3516' version='0'>
</Item>
<Item action='update' type='Document' id='68FDC33766674A2F9E1A34CBC77F3516' version='0'>
<name>Updating via AML Studio</name>
</Item>
<Item action='unlock' type='Document' id='68FDC33766674A2F9E1A34CBC77F3516' version='0'>
</Item>
</AML>Thanks
Gobikrishnan R
- dkinsley6 years agoCreator II
I appreciate you trying to help me. Unfortunately, I am still getting this:
<faultstring>The version of the Item you are trying to lock is not current. Please lock the current version.</faultstring>
I tried changing version to 2 and to C.