1.3.11.47 Add Numeric Array Attribute

The Add Numeric Array Attribute processor creates a new Number Array attribute that you can use in downstream processing. The new array can be of a configurable size (number of elements). Each element value is blank when it is created initially, but a single value can be set for all elements, if required.

The following table describes the configuration options:

Configuration Description

Inputs

The following inputs are optional, and if provided, override the options:

  • New Attribute Value: specify one Number to use as the element of the array. If specified, this overrides the option of the same name.

  • Number of Elements: specify the number of elements in the new array. If specified, this overrides the option of the same name.

Options

Specify the following options:

  • New Attribute Value: the value to be set for each element of the array.

  • Number of Elements: the length of the array to be created. If the input attribute is not specified, the "Number of elements" option must be set instead. If a negative or null value is specified, the output array is <Null>.

Outputs

The processor creates a new Number Array attribute as output

Note:

The processor can create a maximum number of 100 elements. If you use an input attribute for creating a certain number of elements, and if it has a value higher than 100, an empty array is the output.

Output Filters

None.

Example

Element Value Array Length Output

42

0

{}

42

1

{42}

42

3

{42}

{42}

{42}