Autodesk Vault ProfessionalVault API

UpdateItemLifeCycleDefinitions Method

Autodesk.Connectivity.WebServicesChangeOrderService

Updates item lifecycle definitions from within the context of a change order

Required Permissions

ItemChangeLifecycleDefinition

Syntax

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

Parameters

NameDescription
changeOrderIdThe ID of the associated change order
itemMasterIdsthe master IDs of the items to update
toLCDefIdsthe lifecycle definition IDs to transition to
toStateIdsthe lifecycle state IDs to transition to
commentthe comment for the new item iterations

Return Value

the updated item objects

Remarks

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

See Also