Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process steps cannot access to event data if not the first one #1523

Open
NicolasMahe opened this issue Nov 22, 2019 · 1 comment
Open

Process steps cannot access to event data if not the first one #1523

NicolasMahe opened this issue Nov 22, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@NicolasMahe
Copy link
Member

The process steps cannot access to event data if they are not the first one. Here is a process where step #3 try to access to the trigger's event:

key: notification
steps:
  - type: trigger
    key: interval
    instance:
      src: https://github.com/mesg-foundation/service-emit-event-interval
    eventKey: every_10_seconds
  - type: task
    instance:
      src: ../service-crypto-tracker
    taskKey: get
    inputs:
      pair: 'btcusd'
      exchange_sym: 'bitfinex'
  - type: task
    instance:
      src: ../service-concat
    taskKey: concat
    inputs:
      p1: 'The price of BTC/USD on Bitfinex is '
      value:
        key: price
      p2: ' $ '
      date:
        stepKey: interval
        key: timestamp
  - type: task
    instance:
      src: ../service-telegram
      env:
        - 'TOKEN=$(env:TOKEN)'
        - 'CHAT_ID=$(env:CHAT_ID)'
    taskKey: pushNotify
@NicolasMahe NicolasMahe added the bug Something isn't working label Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant