Skip to content

Wizards#

Estimated time to read: 2 minutes

Creating a new Data Collection (Entity, Version, or Revision)#

When editing the Parameter list, the calculation mode Expression can be selected:

Screenshot showing a calculation step in creating a new data collection.

This calculation mode only receives a JSONata expression as input via a code editor with syntax highlighting. Any property that is incompatible with the current calculation mode is also hidden. In the image above, the Grouping and Limit Checking properties are hidden as they are not compatible with the Expression calculation mode.

Perform and Correct Data Collection#

The Perform and Correct Data Collection wizards were not modified. Similar to parameters with a calculation of type Rule, Expression parameters are not displayed in the Data Collection step of the Post, Perform Immediate, and Correct wizards, because they are calculated by the system. However, as already happens with the Rule calculation mode, Expression parameters are evaluated for preview when you select the Preview tab:

Screenshot showing the "Perform Immediate Data Collection" wizard.

In the image above, the second parameter (CP_Demo_79459_Dec02) is of the Expression calculation mode and sums the readings of the first parameter (CP_Demo_79459_Dec01). The third parameter (CP_Demo_79459_Dec03) is of the Rule calculation mode, and is displayed here to show that it is also evaluated for preview.