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