thread.set

Set thread-scope data.

Element details

type: meya.thread.component.set
class: ThreadSetComponent
path: /meya/thread/component/set.py
signature: thread_set

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
thread_idnullstr
thread_setstr
dict

Usage reference

Basic

triggers:
  - keyword: meya.thread.component.set
steps:
  - thread_set: STRING

Full

triggers:
  - keyword: meya.thread.component.set
steps:
  - 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
    thread_id: STRING
    thread_set:
      foo: bar