Hi folks !
I have the below JSON response from a Webservice connector as authoritative source to import identities for our customer, where all objects are contained in “workers” list.
{
"workers": [
{
"workAssignments": [
{
"customFieldGroup": {
"stringFields": [
{
"itemID": "PTP",
"stringValue": "Responsable"
},
{
"itemID": "SAD_LIB34",
"stringValue": "SIEGE"
}
]
}
}
]
}
]
}
I need to get the value “SIEGE” in stringValue key and tried the below, which is valid on https://jsonpath.com/, but seems not to be working in ISC.
workAssignments[0].customFieldGroup.stringFields[?(@.itemID == 'SAD_LIB34')].stringValue
Any help is much appreciated !