Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
utiliser:creating_rules [2025/01/16 02:45]
optrix
utiliser:creating_rules [2025/01/16 03:07] (current)
optrix
Line 3: Line 3:
 The utilisation system calculates the the [[state|state]] of each asset using **rules**. The utilisation system calculates the the [[state|state]] of each asset using **rules**.
  
-There are a few different //types// of rule that each have their own specific parameters.+Each rule must include a **method**. 
 + 
 +<code> 
 +
 +            "method": "ValueMatch" 
 +
 +</code> 
 + 
 +There are a few different //methods// - types of rule that each have their own specific parameters.
  
 The most common is the [[ValueMatch]] rule, but there are others - and more will be introduced over time. The most common is the [[ValueMatch]] rule, but there are others - and more will be introduced over time.
  
-===List of Rule Types===+===List of Methods===
  
-[[ValueMatch]] - Matches with the complete or partial text of a property.+[[ValueMatch]] - Matches with the complete or partial text of a property. \\ 
 +[[NonZero]] - Chooses between options depending on if a value is 'zero'.