Autodesk Vault ProfessionalVault API

GetLifecycleRollbackTargetItem Method

Autodesk.Connectivity.WebServicesItemService

Gets the target item for rolling back an item's lifecycle state

Required Permissions

ItemRollbackLifecycleState

Syntax

public Item GetLifecycleRollbackTargetItem(
   System.long itemMasterId
)
Public Function GetLifecycleRollbackTargetItem( _
   ByVal itemMasterId As System.Long _
) As Item

Parameters

NameDescription
itemMasterIdthe master ID of the item to rollback

Return Value

the target item iteration to rollback to

Remarks

The item iteration ID of the returned target item should be used when calling ItemRollbackLifecycleState to execute the rollback.

If the target item's previous lifecycle state definition was deleted, is the None state, no previous lifecycle exists, or the iteration is not a controlled iteration, a restriction will be returned.

See Also