Four Stars

how to recover data source after tRESTClient

Hi,

I need your help. I have a job simple with tRESTClient. I have a source file with columns ID, Address, Zip code and Town. I also have the module tRESTClient with input parameters Address, Zip code and Town and output parameters latitude and longitude. My problem is that I need the ID of the source file to match the data in the database.usetRESTClient.pngI tried using tHashOutput and tHashInput but I get number rows * number rows of file.

 

Is there any way to pass the ID data through the module to match the output data well?

Any help would be greatly appreciated.  Thanks!!

1 ACCEPTED SOLUTION

Accepted Solutions
Ten Stars

Re: how to recover data source after tRESTClient

insert tMap on the green Line add an output field feed it with the name of row1 data.

 

row1.MyData

Francois Denis

Don't forget to tag when it's "solved"!

5 REPLIES
Ten Stars

Re: how to recover data source after tRESTClient

looking at he code you may use row1.xxx data after tRestClient.

Francois Denis

Don't forget to tag when it's "solved"!

Six Stars

Re: how to recover data source after tRESTClient

Hi @david81

you can do so with the help of context variable. Also no need to use any other component.

Regards
Aashish
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: how to recover data source after tRESTClient

I do not know where I can use row1.xxx can you give me a clue?
Ten Stars

Re: how to recover data source after tRESTClient

insert tMap on the green Line add an output field feed it with the name of row1 data.

 

row1.MyData

Francois Denis

Don't forget to tag when it's "solved"!

Four Stars

Re: how to recover data source after tRESTClient

Thanks!! Fdenis and Aashish.
Muchisimas gracias