Add the new array to the Contact entity in ClaimCenter

Extend the Contact entity in ClaimCenter to enable it to use an array of service state entities.

Before you begin

Complete Create a service state entity in ClaimCenter.

About this task

The array of service state entities has the triggersValidation attribute set to true to enable validation rules to be triggered when an element of the array changes. Additionally, to simplify communications between ContactManager and ClaimCenter, the array has the same name as the array added to ContactManager.

Procedure

  1. In Guidewire Studio™ for ClaimCenter, navigate in the Project window to configuration > config > Extensions > Entity, and then double-click Contact.etx to open it in the editor.
  2. In the editor, click extension at the top of the Element hierarchy
  3. Click the drop-down list next to and choose array, and then enter the following values:
    Name Value
    name ContactServiceArea
    arrayentity ContactServiceState
    arrayfield Contact
    desc Geographical area where the contact provides service
    triggersValidation true
  4. If necessary, stop ClaimCenter.
    Open a command prompt in the ClaimCenter installation folder and then enter the following command:
    gwb stopServer
  5. Regenerate the Data Dictionary to ensure that the data model updates are correct.
    At a command prompt, navigate to the ClaimCenter installation folder and enter:
    gwb genDataDictionary

What to do next

Map the new entity and array extensions in ClaimCenter