By Connor Ferguson
The Vault API gives you the ability to create event handlers so you can run your custom code either pre or post certain events that happen in the Vault client. One of these events is when the ‘Change State’ command is clicked. The below GIF shows a new file in Vault that is at the state ‘Work In Progress’. When I change the state of the file to ‘For review’ my code will run and you will see my username (in this case I am logged on as administrator) is entered into the ‘Checked By’ property. Again this happens to the ‘Approved By’ property when I change the state to ‘Released’. Finally when I go back to ‘Work In Progress’ both of the before mentioned properties are cleared.