V2/Concepts/Preparing for Expression Creation

From Senfi Docs
Revision as of 11:33, 30 June 2021 by Huiyan (talk | contribs)
Jump to: navigation, search

What is needed to create an Expression

Pre-requisites

An Expression requires design and logical programing 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.

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 Input measurement & metrics.
  • 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)