flow

type: meya.flow.component
class: FlowComponent
path: /meya/flow/component/component.py
signature: flow

Start a sub-flow.

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

false

Mark this component's event as sensitive

triggers

list

[]

Activate these dynamic triggers when the component runs

flow

FlowRef

jump

StepLabelRef

null

data

dict

null

transfer

bool

false

async

bool

false

bot

BotRef

null

thread_id

str

null

Examples

Basic

triggers:
  - keyword: meya.flow.component
steps:
  - flow: flow.name

Full

triggers:
  - keyword: meya.flow.component
steps:
  - spec: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    flow: flow.name
    jump: STEP
    data:
      foo: bar
    transfer: false
    async: false
    bot: element.name
    thread_id: STRING