Autodesk Vault ProfessionalVault API

UpdateFileLifeCycleStates Method

Autodesk.Connectivity.WebServicesChangeOrderService

Updates file lifecycle states from within the context of a change order

Required Permissions

FileChangeLifecycleState

Syntax

public override File[] UpdateFileLifeCycleStates(
   System.long changeOrderId,
   System.long[] fileMasterIds,
   System.long[] toStateIds,
   System.string comment
)
Public Overrides NotOverridable Function UpdateFileLifeCycleStates( _
   ByVal changeOrderId As System.Long, _
   ByVal fileMasterIds() As System.Long, _
   ByVal toStateIds() As System.Long, _
   ByVal comment As System.String _
) As File()

Parameters

NameDescription
changeOrderIdthe associated change order ID
fileMasterIdsthe master IDs of the files to update the lifecycle states of
toStateIdsthe lifecycle state IDs to transition to
commentthe comment for the new file iteration

Return Value

the updated file objects

Remarks

When the restrict lifecycle state change to change orders option is enabled, file lifecycle state changes can only be executed using the change order service.

The specified file master IDs must be associated with the specified change order ID.

See Also