Add ServiceState search capability in ClaimCenter

Before you begin

Complete Regenerate and refresh ContactManager web services.

Procedure

  1. Using Guidewire Studio for ClaimCenter, in the Project window, navigate to configuration > config > Extensions > Entity.
  2. Click ContactSearchCriteria.etx to open the entity extension in an editor.
  3. Right-click nonPersistentEntity (extension) at the top of the Element hierarchy and click Add new, and then choose typekey from the drop-down list.
  4. Enter the following values:
    Name Value
    name ServiceState
    typelist State
    desc State where contact provides services
  5. Add an entry for ServiceState to the Gosu class ContactSearchMapper so you can use this field when you search for a contact.
    1. In Guidewire Studio for ClaimCenter, press Ctrl+N and enter ContactSearchMapper, and then in the search results click ContactSearchMapper(gw.plugin.contact.ab1000) to open this class in the editor.
    2. Press Ctrl+F and enter convertToABContactAPISearchCriteria to find this method in the class.
    3. Insert a new line after the following line of code:
      searchCriteriaInfo.PreferredVendors = searchCriteria.PreferredVendors
    4. Enter the following code for ServiceState:
      searchCriteriaInfo.ServiceState = searchCriteria.ServiceState.Code

What to do next

Configure ClaimCenter search screens for ServiceState