Autodesk Vault ProfessionalVault API

UpdateItemLifeCycleStates Method

Autodesk.Connectivity.WebServicesChangeOrderService

Sets the life cycle state for a set of Items.

Required Permissions

ItemChangeLifecycleState

Syntax

public override Item[] UpdateItemLifeCycleStates(
   System.long changeOrderId,
   System.long[] itemMasterIds,
   System.long[] toStateIds,
   System.string comment
)
Public Overrides NotOverridable Function UpdateItemLifeCycleStates( _
   ByVal changeOrderId As System.Long, _
   ByVal itemMasterIds() As System.Long, _
   ByVal toStateIds() As System.Long, _
   ByVal comment As System.String _
) As Item()

Parameters

NameDescription
changeOrderIdThe ID of the controlling Change Order.
itemMasterIdsthe master IDs of the items to update
toStateIdsthe lifecycle state IDs to transition to
commentthe comment for the new item iterations

Return Value

the update item iterations

Remarks

When an item is assigned to a change order or the restrict lifecycle state changes to change orders option is enabled, item lifecycle state changes can only be executed using the change order service.

See Also