As discussed in this post, I’m trying to create a new address detail entry on a website based on this json. STA_JSON_SAMPLE.json (2.6 KB)
I need some help on how to use the for each function for that.
Thank you
As discussed in this post, I’m trying to create a new address detail entry on a website based on this json. STA_JSON_SAMPLE.json (2.6 KB)
I need some help on how to use the for each function for that.
Thank you
Thank you @DanielMitchell.
I’m trying to understand how this works… If we tell it: ForEach “address”. How does it know that “address” refers to each object in the array? I don’t see it defined anywhere.

@JCH
There are a few activities such as For Each and For Each Row where you can declare a variable inside the activity itself. address is a variable, it just doesn’t show up in the variable pane of Studio. You can rename address to be anything that you want and UiPath will initialize a variable with that name when it runs. The type of the variable is set by the TypeArgument parameter of the activity.
Ah ok that makes sense now. Thanks so much explaining that!