Specifying Default Values for Functions that Accept Recurring Nodes as Input

The following math functions calculate values from sets of nodes:
  • Average
  • Count
  • Maximum
  • Minimum
  • Sum

You cannot specify a default value (or constant) for the input parameters of these functions in their Functions Properties dialog box. To specify default values for the input parameters of these functions, complete these steps:

Procedure

  1. Create a variable with the same data type as the input parameter for the function.
  2. In the "Properties of" pane of the Variables tab, enter the constant value in the Default Value field for the variable
  3. In the From Orchestration pane of the activity, add the variable that has the default value.
  4. Map the variable to the input parameter of the function.