V2/Concepts/Preparing for Expression Creation

From Senfi Docs
Revision as of 11:45, 31 March 2022 by TiowSeng (talk | contribs) (→‎Pre-requisites: typo "programing" change to "programming")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What is needed to create an Expression

Note: Mandatory information are marked with an ‘*’.

This section helps you to prepare information you need to create an Expression.

Pre-requisites

An Expression requires design and logical programming in order for it to work correctly. If this is your first time creating an Expression, please read this guide first.

You should also be familiar with the basic measurements and its concepts. Please read this section if you require a refresher. Before an Expression can be created, the Event to be triggered should be designed and created first. Please read this guide to learn about Events and how to create an Event.

General Information

Name*
Name given to the Expression.
Type*
Decides how often the Expression is evaluated, whether it's immediate or on polling.

Expression Editor

You should

  • Know what Event the Expression should detect.
  • Know what you would like Senfi to do (Action) when the Event is detected
  • Create the Event
  • Have already created the Assets, Measurement & Metrics to be used as Input in the Expression.
  • Know the thresholds or values which indicates occurrence of event.
  • Be able to send records to Input measurement & metric.
  • (Optional) Be able to send simulated records to Input measurement & metric (to simulate occurrence of event or situation)
  • Understand the different kinds of Node Types and their uses in the Expression Editor.

What's Next