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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
MM1655984008
Contributor II
Contributor II

Rest API Call : First Output as Second Input

Hi,

I've a scenario where i need to call 2 Rest End points, based on the first output, second one has to be called, so, i'm going in a flow like calling the First Rest API call, getting the output to tMap as there needs some manipualation and the output string has to be passed to second request. I'm trying to use tJava so that i can assign to context variable, but unable to read the tmap output. Is there any alternative way to achieve this. Thanks in advance

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Use tJavaRow instead of tJava, you can access the output from tMap like this:

context.varName=input_row.ColumnName;

 

Regards

Shong

View solution in original post

1 Reply
Anonymous
Not applicable

Use tJavaRow instead of tJava, you can access the output from tMap like this:

context.varName=input_row.ColumnName;

 

Regards

Shong