front.shifts.get

Element details

type: meya.front.component.shifts.get
class: FrontShiftGetComponent
path: /meya/front/component/shifts/get.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
integrationA string identifier for the Front integration (e.g. integration.front)FrontIntegrationRef
contextSend context data with this component's event.{}
dict
sensitivetruebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list
shift_idThe Front ID of the shift to retrieve. Shift IDs have the format shf_xxxstr

Usage reference

Basic

triggers:
  - keyword: meya.front.component.shifts.get
steps:
  - type: meya.front.component.shifts.get
    integration: integration.front
    shift_id: STRING

Full

triggers:
  - keyword: meya.front.component.shifts.get
steps:
  - type: meya.front.component.shifts.get
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    integration: integration.front
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    shift_id: STRING