Bringing items in through AML package as 'Released'

Hello all,

I am working on importing custom itemtypes to load via AML package as part of new builds. Due to how a customized contextual window displays these items, I need the items to be in a 'Released' state when they are brought in. (The window will only display 'Released' items).

However, I am having difficulties getting the items to be in a 'Released state'

1. I've tried adding a <state>Released</state> to each item being brought in

2. I've tried adding a postAMLpackagedeployment script that adds a <state>Released</state> to each item

The catch is, I need the items to abide by its lifecycle/workflow normally when edited and the state returns to 'New'.

Is this possible?