Autodesk Vault ProfessionalVault API

UpdateFileLifeCycleDefinitions Method

Autodesk.Connectivity.WebServicesChangeOrderService

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

Required Permissions

FileChangeLifeCycleDefinition

Syntax

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

Parameters

NameDescription
changeOrderIdID of the associated change order
fileMasterIdsthe master IDs of the files to change the lifecycle state of
toLCDefIdsthe lifecycle definition IDs of the definitions to transition to
toStateIdsthe lifecycle state IDs of the states to transition to
commentthe comment for the new file iteration

Return Value

the updated file objects

Remarks

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

The specified File Master IDs must be associated with the specified Change Order ID.

See Also