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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Edith1
Creator
Creator

How to connect tRestClient to tHMap

Is there a way to connect tRestClient to tHMap?  From what I understand, tHMap input and output can only be a document or an object. When I setup a tRestClient the response schema is statusCode, body and string. I thought one can setup tRestClient to send response as a document, but not too sure.

 

When I connect both and run the job, the tHMap error is "cannot cast from integer to document". I also got an error of "Incompatible conditional operand types integer and inputstream" when I unchecked convert response to DOM document.   

Labels (3)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@EdithM , you need to connect as shown below way.

 

0683p000009MaRH.png0683p000009MaKV.png

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@EdithM , you need to connect as shown below way.

 

0683p000009MaRH.png0683p000009MaKV.png

manodwhb
Champion II
Champion II

@EdithM , you need to connect as shown below way.

 

0683p000009MaRH.png0683p000009MaKV.png

Edith1
Creator
Creator
Author

Thank you @manodwhb, that worked! 

Edith1
Creator
Creator
Author

Thank you @manodwhb, that worked!