Help needed: Enquiry API returning empty result set

Hi team,

Looking for help with configuring case enquiry for a neulife_claims case type.

I am calling the case instances API with enquiry enabled, but the response always returns zero items, even though there is at least one case with the matching policy number.

API Payload

{
  "pageNumber": 0,
  "pageSize": 5,
  "caseType": "neulife_claims",
  "enquiry": {
    "projectId": "ca7b703d-89d9-4726-8f63-04bd4e0cfd99",
    "enable": true,
    "filters": [
      {
        "mapping": "Claim.Policy.Number",
        "mappingType": "co",
        "filterOptions": {
          "type": "search",
          "value": "VA12345"
        }
      }
    ]
  },
  "isEnquiry": true,
  "mergeTasksByCase": true
}

What I expect

There is a case whose data contains:

"Claim": {
  ...
  "Policy": {
    ...
    "Number": "VA12345",
    "Status": "In Force",
    ...
  }
}

So the filter on Claim.Policy.Number with value VA12345 should return this case.

What actually happens

Environment / context

  • Environment: sandbox.neutrinos-apps.com

  • Tenant: training

  • Case type: neulife_claims

  • Project ID: ca7b703d-89d9-4726-8f63-04bd4e0cfd99

  • Flags: isEnquiry: true, mergeTasksByCase: true, enquiry: enabled

Are there any additional configuration steps required on workbench so that this field becomes filterable?

2 Likes

Hello @shiv ,
Is this sorted or do you need help??

1 Like