Sum

Calculates the sum of a list of numbers. This function accepts only a list of type number. If your numbers are formatted as a list of text, you can use the Map function to convert each item from text to a number. If your numbers are stored inside a list of objects, you can use the Pluck function to generate the list of numbers you need to pass into Sum.

Input Fields

  • list: The list of numbers you want to add up.

Output Fields

  • sum:  The sum of the numbers in your list.

Example

If the list input is [1,2,3] then the sum output will be 6.

See Also

Functions in Workflows

About the elements of Okta Workflows