Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I'm use tRESTClient Send multiple requests, I want to collect their results and return them uniformly,but the tRESTClient Only one result can be returned。
This is my design,What I want is for both requests to be returned,I don't know how to do it。
Thanks for the help!
Hi
You can merge the results using tUnite if the both two results has the same schema and return them using one tRestResponse.
The job design looks like:
tRestRequest...txmlMap--out1--tHashOutput1
****************************--out2--tHashOutput2
|onsubjobok
tHashInput1(read from tHashOutput1)--tRestClient1--tUnite--tRestResponse
******************************************************************|
tHashInput2(read from tHashOutput2)--tRestClient2
Regards
Shong