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
Eight 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

5 REPLIES
Eight Stars

Re: how to recover data source after tRESTClient

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

Five 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
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?
Eight 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

Four Stars

Re: how to recover data source after tRESTClient

Thanks!! Fdenis and Aashish.
Muchisimas gracias