Task References

On this page:



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.

Incoming Type Description
obj Object Required. The object whose enumerable property values are to be returned.

Outgoing Type Description
values Array An array containing the enumerable property values of the given obj.


Example 1

In this IAP example the obj keys are "first" and "last" and the values for each key are "myFirstName" and "myLastName", respectively.


The expected values that return are shown below in an array.


Example 2

In this example, the obj key is now "name" and the values for the object key are "first": "myFirstName", "last": "myLastName", respectively.


The values that return are shown in the following array.