Check whether a list contains a particular item. The output is a True/False value - it returns true if the list contains the item, false if it does not. The list can be a list of any type of item - a list of text, a list of numbers a list of objects, etc. The value must be an item of that type.

Input Fields

  • list - required: the list to check.

  • value - required: the item to check for.

Output Fields

  • result (true/false): true if the list contains the specified item


list: [{"name":"Bob", "age":20}, {"name":"Jane", "age":25},{"name":"Sally", "age":22} ]

value: {"name":"Jane", "age":25}

result: true

See Also

Functions in Workflows

About the elements of Okta Workflows