Binding

From AMTech WikiDocs
Revision as of 10:29, 23 April 2021 by Lianet (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there are 3 types of binding:

  • Constants
constant
  • Value selected from a resource property. Only properties of the same data type are shown
selection from propeties
  • Javascript code
javascript
the context where the reasoner gets executed is injected into the javascript function, Ctrl+Space shows code completion options