Vault API – Modifying user defined file property values during a state change event

Marketing
Marketing
  • Updated

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.

Was this article helpful?

1 out of 2 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.