Skip to content

RECENT

Description

This algorithm assesses the value of all the raw data for the associated data point and chooses the most recently sourced value.


Config Location

Config is provided within consolidationAlgorithm element, within the dataPoint element in a schema.


Supported Data Types

  • Integer
  • Double
  • Decimal
  • String
  • Json

Config Requirements

Config ({}) options are not required.


Config Example

1
2
3
<dataPoint name="QUANTITY" dataType="INTEGER">
    <consolidationAlgorithm name="AGG_RECENT" entity="RECENT"/>
</dataPoint>

Example Result

  • the sourced values of data point "QUANTITY" are: 1, 2, 56, 2364, 152
  • the algorithm will select the most recently sourced value. This is usually determined by the priority of the data feeds. In this case the mose recently sourced value is: 152

Config Parameters

not applicable


Common Mistakes

not applicable