Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to return empty JSON array via tRESTResponse

In my ESB job, I currently am returning the following when my job returns no records:

{}

 

What I want is to return a payload with an empty array like such:

{

    "records": []

}

 

How can I accomplish this using tXMLMap and tRESTResponse?

Labels (4)
0 Replies