Difference between revisions of "V2/Concepts/Preparing for Expression Creation"

From Senfi Docs
Jump to: navigation, search
(Created page with "<h1 class="main-heading">What is needed to create an Expression</h1> === Pre-requisites === A rule requires design and logical programing in order for it to work correctly. I...")
 
Line 2: Line 2:
  
 
=== Pre-requisites ===
 
=== Pre-requisites ===
A rule requires design and logical programing in order for it to work correctly. If this is your first time creating a rule, please read [[Rule|this guide]] first.
+
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 [[V2/Concepts/Expression|this guide]] first.
  
You should also be familiar with the basic [[Measurement|measurements]] and its concepts. Please read [[Concepts#Measurement.2C_Metric.2C_Tag|this section]] if you require a refresher.
+
You should also be familiar with the basic [[V2/Concepts/Measurement|measurements]] and its concepts. Please read [[V2/Concepts/Intro_to_Measurement|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 [[V2/Concepts/Event|this guide]] to learn about Events and how to [[V2/CMS_Tutorial/User_Tools/Creating_Content/Automation/Event|create an Event]].
  
 
You should  
 
You should  
* Know what event the Rule should detect.
+
* Know what Event the Expression should detect.
* Know what you would like Senfi to do ('''Action''') when the event is detected
+
* Know what you would like Senfi to do ('''Action''') when the Event is detected
 +
* Create the [[2/CMS_Tutorial/User_Tools/Creating_Content/Automation/Event|Event]]
 
* Have already created the '''Input''' measurement & metrics.
 
* Have already created the '''Input''' measurement & metrics.
 
* Know the thresholds or values which indicates occurrence of event.
 
* Know the thresholds or values which indicates occurrence of event.
 
* Be able to send records to '''Input''' measurement & metric.
 
* 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)
 
* (Optional) Be able to send simulated records to '''Input''' measurement & metric (to simulate occurrence of event or situation)

Revision as of 11:33, 30 June 2021

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)