GetLifecycleRollbackTargetFiles Method
Gets the the file for rolling back the specified files Lifecycle states within the context of a Change Order
Required Permissions
"Get File Rollback Lifecycle State Target"Syntax
public FileRollbackStatus[] GetLifecycleRollbackTargetFiles(
System.long changeOrderId,
System.long[] fileIds
)Public Function GetLifecycleRollbackTargetFiles( _
ByVal changeOrderId As System.Long, _
ByVal fileIds() As System.Long _
) As FileRollbackStatus()Parameters
| Name | Description |
|---|---|
| changeOrderId | id of the Change Order |
| fileIds | ids of file Masters to which the rollback is to be applied to |
Return Value
Returns the target files (and any Delete Restrictions)
Remarks
When an item is assigned to a Change Order or "Restrict Item Lifecycle changes to Change Orders" is ON, item lifecycle state changes and rollbacks can only be executed from within the Change Order service. The files "MaxCkInVerNum" of the returned target files should be used in calling ChangeOrderService.RollbackToTargetFile to execute the rollback If the target files lifecycle state definition has been deleted, is the None state, no previous lifecycle exists or the iteration is not a controlled iteration, a Restriction will be returned. The specified file Master Ids must be associated with the specified Change Order Id