The values task is used to get the value of keys in an object. It returns an array whose elements are the enumerable property values found in the given object.
Potential Use Case
The values task could be used to create an
array that you may want to use in a loop at a later time. This task would most likely be used along with other tasks in the workflow of an automation.
Input and output parameters are shown below.
||Object||Required. The object whose enumerable property values are to be returned.|
||Array||An array containing the enumerable property values of the given
In this IAP example the
obj keys are "first" and "last" and the values for each key are "myFirstName" and "myLastName", respectively.
values that return are shown below in an array.
In this example, the
obj key is now "name" and the values for the object key are "first": "myFirstName", "last": "myLastName", respectively.
values that return are shown in the following array.