Showing posts with label promoteItem. Show all posts
Showing posts with label promoteItem. Show all posts

Monday, 7 August 2017

Aras innovator promoteItem from one state to another state

<AML>
<Item type="Document" action="promoteItem" version="0" where="[Document].id='1121B0903C8C4DAEB57006C0C5234C82'" serverEvents="0">
<state>Superseded</state>
</Item>
</AML>

Error LifeCycle: PromoteItem: Transition to promote Part from Preliminary to Released not found

LifeCycle: PromoteItem: Transition to promote Part from Preliminary to Released not found
Internal Error: failed to get the transition to promote the Part from Preliminary to Released
Aras Innovator error.
Solution:
You are missing “Assigned Creator” value for a Item, first provide “Assigned Creator” value, then try to promoteitem.
This is the AML which used to promote the state for an Item.
<AML>
<Item type=”Part” action=”promoteItem” where=”[PART].item_number=’P0001′”>
<state>New state</state>
</Item>
</AML>