
Announcements
Hi Guys,
Need your help in fix my flow.
I am sending HTTP request, in response I am getting top 100 values, total values are 1999, so I added Do Until action item >>In Do Until Section I have HTTP request in which startAt is keep on changing add +100 every run.Do until stops when startsAt > 1999. HTTP is working fine.
Under HTTP I have added Select Array :
HTTP Resposne is :
[
{
"id": "11820",
"value": "Arcelik Anonim Sirketi",
"disabled": false
},
{
"id": "11821",
"value": "Littelfuse, Inc.",
"disabled": false
},
{
"id": "11822",
"value": "Red Rock Resorts, Inc.",
"disabled": false
},
{
"id": "11919",
"value": "Fcc Construccion S A, UK Branch Office",
"disabled": false
}
]
From This response I have added select to get Value only, so Select output is :
[
"Arcelik Anonim Sirketi",
"Littelfuse, Inc.",
"Red Rock Resorts, Inc.",
"Ambuja Cements Limited",
"B E & K, Inc.",
"Bourns, Inc."
]
Now I want to append this response into a single array. Like HTTP request is running 20 times, 20 time I get different value. I want to those into a single array. Kindly suggest. How can I do this.
When I am trying to create an Array variable and appending into it, getting this error :
The input value is of type 'Array' which cannot be appended to the variable 'cfValues' of type 'Array'. The action type 'AppendToArrayVariable' only supports values of types 'Float, Integer, String, Boolean, Object'.
Hi , @vikrantyadav11
According to your description, you want to union your array from the output of the "Select" action in your Do until action.
You can refer to my test flow.
First , we need to initialize the variable before your do until:
Then we in the do until action, you can refer to :
Then in the last and out of your do until action, you can get the union array:
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang