Link Search Menu Expand Document

Iteration Find

Find the first occurrence of a value in an array.

Properties

Array: Location of an array that you are iterating over
Condition: Condition to match against

Output

Output-location: The location for the found value to be saved

Examples

Let’s say we want to iterate over an array and find the first occurrence of “a”

  1. Using the Testing feature, let’s send an array of [“a”, “b”, “c”] in the request body