element

This is the base component element that is used by all other component
elements.

This is an abstract element and should not be used directly in
your BFML.

When you implement your own custom components
you will inherit from this element's Python class.

Element details

type: meya.component.element
class: Component
path: /meya/component/element/element.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
contextSend context data with this component's event.{}
dict
sensitiveMark this component's event as sensitive. This will encrypt the event if the Sensitive Data integration has been enabled.falsebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list

Usage reference

Basic

triggers:
  - keyword: meya.component.element
steps:
  - type: meya.component.element

Full

triggers:
  - keyword: meya.component.element
steps:
  - type: meya.component.element
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY