Forum Discussion

Thom's avatar
Thom
New Contributor II
3 years ago
Solved

Detect XML attribute xsi:nil and apply null value

I am using a SOAP Execute to retrieve information from an API. The payload is being converted to JSON. The problem is any field that is null returns with an attribute of @xsi:nil:“true”. This is j...
  • Aleksandar_A's avatar
    3 years ago

    Hi @arvindnsn,

    You can try to filter out documents that have “error” keys, and later on to split them using JSON Splitter Snap.

    $result.filter(x => x.hasPath("error"))
    

    Let me know if this helps you.

    BR,
    Aleksandar.

Recent Discussions