Skip to content

Deploy & Run Debugged Code

Now that you’ve debugged the code locally and confirmed that the trigger is working as expected, you need to deploy the code to Vault so that the custom code executes for all users. Then, you will run the code one more time in Vault to verify that the deployment succeeded and your code changes work as expected.

To deploy code to Vault with the Maven plugin:

  1. In IntelliJ®, open the Maven menu from the IntelliJ® sidebar, and double click on the vaultjavasdk:package Maven goal. The deployment folder will be updated with a new .vpk file with your code changes.
  2. Run the vaultjavasdk:deploy Maven goal from the Maven sidebar menu to deploy the code to Vault. You will receive an email when Vault completes the deployment.

To run our newly deployed trigger code in Vault:

  1. Log in to your Vault.
  2. Navigate to Business Admin > Objects > vSDK Hello World.
  3. Click Create.
  4. Enter a name in the Name field.
  5. Click Save.
  6. Verify that a vSDK Hello World Child record is created with the same name as the parent record, and that the Hello World field is set to the parent record.

Congratulations, you’ve completed the Vault Java SDK Debugger Tutorial!