/
Access iterator value in child action
Access iterator value in child action
When the iterator runs it cuts each array item out and pass it to the child.
Here are some examples on how it looks like.
Example 1
Input
{
"anArray":["val1_","val_2"]
}
iterator expression $.anArray
Child input
To access val_1 add JSON path expression
value | $ |
In the body of the child, you can now access val_1 or val_2 by {{value}}
, multiple selections available,
Related content
Automatic response variables
Automatic response variables
More like this
Iteration - iterate over parent response
Iteration - iterate over parent response
More like this
Working with Iteration in iHub cloud
Working with Iteration in iHub cloud
More like this
Dynamic Flow Variable
Dynamic Flow Variable
More like this
Iteration
Iteration
More like this
Manage Arrays
Manage Arrays
More like this