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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Join & Store trestclient response to database

Hi,

 

I am using a trestclient to get the output from a service. Now, the XML returned looks this way, 200 |<?xml version="1.0" encoding="UTF-8"?>
<root><status>1</status><data>110.0</data></root>|null |

 

I want to join the  value in the <data> field with the 2 more fields (user id and captured data) that comes from a database. How do I achieve this? I want to store the userid, captured date and <data> in the database

 

Any help on this please

 

Thanks

Rathi

Labels (4)
8 Replies
manodwhb
Champion II
Champion II

@Rathimittha,you can do in the below way.

0683p000009LxD9.png0683p000009Lw5p.png

Anonymous
Not applicable
Author

Hi, thank you for the quick response

 

My job looks like this . I want the out2 in tMap_1 to be a lookup too tXMLMap, but it does not allow me to link it 

 

0683p000009LxDT.png0683p000009LxDY.png

manodwhb
Champion II
Champion II

@Rathimittha,since you need to split the flow as i showned in my previous  replay.

 

Bytheway what are you giving input to tRestclient from tMap1?

Anonymous
Not applicable
Author

I am using origin , destination and waypoints as inputs to trestclient

manodwhb
Champion II
Champion II

@Rathimittha,please use in the below way.

0683p000009LxDn.png

Anonymous
Not applicable
Author

Hi Manohar,

 

I am my job, I need to get the output from the trestclient for a particular user and his date. Now , if I use 2 inputs then I will have no way to join them

 

That is th reason I have 2 outputs in my tMap, so that I can link userid, date and the trestresponse.

 

I will have many users and dates coming in and for each combination I must hit the trestclient

manodwhb
Champion II
Champion II

@Rathimittha,sinc you cannot join the two outputs ,which are having same orgin.

 

You need to either  load to files/Hasoutput and read those files/hashInput and join them in another flow.

Anonymous
Not applicable
Author

THanks Manohar

 

But I don't get it as how to link the fields?