cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

send request via HTTP. Dynamically add json in Request body from search

vishalPse
Deputy Chef I
Deputy Chef I

Hello,

I am very new to this. But let me explain the issue I am having. I have sales Order Lines records as datapills and now I want to add the data dynamically in Send HTTP Request which I am not sure.

I thought to use for each loop and put HTTP inside that but this HTTP calls through the loop is overwriting the previous addition and at the end, I just get only one record.

This is how I am using and this HTTP request is overriding one at the time and giving only last row result

If you see I get 3 rows from search:

 

 

 
 

and In the foreach. Send Request HTTP took the last row and overriding previously runs.

What I found the solution through postman that I can add all 3 rows in json format and it works in Postman and I don't know how to add it dynamically in Send request via HTTP.

This is how I added in HTTP request:issue 2.jpg

 

 

1 REPLY 1

Prudvi
Executive Chef I
Executive Chef I

Hi @vishalPse,
Can you refer this https://systematic.workato.com/t5/workato-pros-discussion-board/dynamic-output/td-p/8795 which might be similar request.
Regards,
Prudvi