GetLifecycleRollbackTargetItem Method
Gets the target item for rolling back an item's lifecycle state
Required Permissions
ItemRollbackLifecycleStateSyntax
public Item GetLifecycleRollbackTargetItem(
System.long itemMasterId
)Public Function GetLifecycleRollbackTargetItem( _
ByVal itemMasterId As System.Long _
) As ItemParameters
| Name | Description |
|---|---|
| itemMasterId | the 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.