UpdateCustomEntityStates
EventNames:
UpdateCustomEntityStates_Restrictions
UpdateCustomEntityStates_Pre
UpdateCustomEntityStates_Post
Parameters
Type |
Name |
Description |
---|---|---|
customObjects |
The Custom Objects in Vault for which the lifefycle status changes/was changed. |
|
bool |
successful |
Post: |
Examples:
UpdateCustomEntityStates_Restrictions:
Register-VaultEvent -EventName UpdateCustomEntityStates_Restrictions -Action 'RestrictUpdateCustomEntityStates'
function RestrictUpdateCustomEntityStates($customObjects) {
#Write event code here
}
UpdateCustomEntityStates_Pre:
Register-VaultEvent -EventName UpdateCustomEntityStates_Pre -Action 'PreUpdateCustomEntityStates'
function PreUpdateCustomEntityStates($customObjects) {
#Write event code here
}
UpdateCustomEntityStates_Post:
Register-VaultEvent -EventName UpdateCustomEntityStates_Post -Action 'PostUpdateCustomEntityStates'
function PostUpdateCustomEntityStates($customObjects, $successful) {
#Write event code here
}