Working with metadata in the rule

We will use the same rule as before, where we used streamdata together with the threshold crossing. In this example, the threshold crossing will be defined on the metadata model for that resource. Here is the meta model: image

We will be again using the Function sensor with the binding feature to set two input arguments: Input argument to the formula:


and the threshold coming from the meta:


Finally we have put the task in the streaming mode and send some data: