Skip to content

Int Rules Run the Project

John Tanner edited this page Mar 23, 2020 · 4 revisions

Run the Project

To see the project in action, follow the steps below. As part of the Setup, the required code has already been deployed to your vault.

This project involves creating a record in the source vault that then creates a record in the target vault, transforming the data using the integration rules.

Source Vault:

  1. In the source vault, select the Warranty tab and Create a new record.

  2. Enter values in the following fields:

    • Customer Name e.g. John Smith
    • Status e.g. Active
    • Manufacturer e.g. Raleigh
    • Extended Cover e.g. Checked
    • Cover Start Date e.g. Today
    • Warranty Period e.g. 5 Years
  3. Click Save.

  4. On the new Warranty record, click the gear symbol and select the Send Warranty user action.

The record will then be sent to the target Vault.

Target Vault:

  1. In the target vault, select the Claims Warranties tab.

  2. Select your Claims Warranty record.

  3. Notice that the fields have been populated and transformed using the migration rules

    • Warranty Number - Auto populated
    • Warranty Holder - Text Field mapping from source Customer Name field
    • Product Maker - Reference lookup on source object Manufacturer
    • Warranty Plus Cover - Yes/No Field mapping from source Extended Cover field
    • Start Date - Date Field mapping from source Cover Start Date field
    • End Date - Calculated in Java SDK code using source Cover Start Date plus the Duration
    • Duration - Select to Text Field mapping from source Warranty Period field
    • Info - Default Text Field in mapping rules
    • Integration Status - Hardcoded in Java SDK code

That completes the sample project. Please refer to the wiki pages and code for more details about the project.