UpdateFileLifeCycleDefinitions Method
Updates file lifecycle definitions from within the context of a change order
Required Permissions
FileChangeLifeCycleDefinitionSyntax
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
| Name | Description |
|---|---|
| changeOrderId | ID of the associated change order |
| fileMasterIds | the master IDs of the files to change the lifecycle state of |
| toLCDefIds | the lifecycle definition IDs of the definitions to transition to |
| toStateIds | the lifecycle state IDs of the states to transition to |
| comment | the 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.