☁️

Escalated Cases

@elastic/sfdc_escalated_cases

Get all currently escalated support cases

Usage

RUN SKILL sfdc_escalated_cases()

With parameters:

RUN SKILL sfdc_escalated_cases WITH include_closed = 0, days_back = 0

Parameters

NameTypeDefaultDescription
include_closedBOOLEANInclude recently closed escalated cases
days_backINT

Returns

DOCUMENT— A single document object

Example

-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
  -H "Content-Type: application/json" \
  -d '{"query": "RUN SKILL sfdc_escalated_cases()"}'

-- Response
{
  "result": [...],
  "_meta": {
    "execution_id": "abc123",
    "duration_ms": 45
  }
}