Hi,
I have a a problem that is almost identical to the one mentioned here from a couple of years ago. The difference is the json in my case is coming from a curl command rather than a REST call as far as i can tell.
The {{[“stepname”].[results].[stdout]}} output appears as follows:
{
"items": [
{
"id": "fghfgh",
"show": "this one"
},
{
"id": "sdfewrf",
"show": "that one"
},
{
"id": "rhyjyteetgb",
"show": "the other one"
}
I’ve edited the output of the [results].[stdout] (which was originally a string) as below.
I’ve then added a loop step to loop around [“stepname”].[results].[stdout].[items] but am getting
an error in the log saying ‘repeat variable items wasn’t defined’.
Please could someone let me know what I’m getting wrong here? Presumably the error means I’m not defining something properly, but I’ve tried all sorts of variations and can’t work this out.
Thanks