# RollbackItemState
**EventNames:**
- RollbackItemState_Restrictions
- RollbackItemState_Pre
- RollbackItemState_Post
**Parameters**
| Type | Name | Description |
| ---------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Item](powervault:code_reference/objects/item) | item | The item which should get / is reverted for a LifeCycle.
**Restrictions and Pre:**
In *Restrictions* and *Pre* you have the future data set on this object like `_NewState` and `_NewLifeCycleDefinition`.
**Post:**
In *POST* you can retrieve the old information by the properties `_OldState` and `_OldLifeCycleDefinition`. |
| bool | successful | **Post**:
The information whether the Web Service call was successful or not is only available in *Post* events. |
**Examples:**\
RollbackItemState_Restrictions:
```PowerShell
Register-VaultEvent -EventName RollbackItemState_Restrictions -Action 'RestrictRollbackItemState'
function RestrictRollbackItemState($item) {
#Write event code here
}
```
RollbackItemState_Pre:
```PowerShell
Register-VaultEvent -EventName RollbackItemState_Pre -Action 'PreRollbackItemState'
function PreRollbackItemState($item) {
#Write event code here
}
```
RollbackItemState_Post:
```PowerShell
Register-VaultEvent -EventName RollbackItemState_Post -Action 'PostRollbackItemState'
function PostRollbackItemState($item, $successful) {
#Write event code here
}
```