# Trigger card gets triggered, but flows stops

**URL:** https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285
**Category:** Questions & Help
**Tags:** app, flow, homey-pro
**Created:** [August 26, 2025, 1:51pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285 "2025-08-26T13:51:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Svensei38](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svensei38/32/140297_2.png) [@Svensei38](https://community.homey.app/u/Svensei38)
#### Post date: [August 26, 2025, 1:51pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285/1 "2025-08-26T13:51:19Z")

</div>

I don’t understand what I’m doing wrong…

I’ve created a super simple app and tested it in a simple flow. My action card works and triggers my trigger card, but then the flow just stops.

App.js:

```auto
'use strict';

const Homey = require('homey');

module.exports = class FlowQueueBusApp extends Homey.App {

  /**
   * onInit is called when the app is initialized.
   */
  async onInit() {
    this.log('Flow Queue Bus has been initialized.');

    this.homey.flow.getActionCard("queue-message").registerRunListener(async (args) => {
      this.log("Queue Message Action.");

      const tokens = { "queue-name": "TEST", "message-id": "1234567890", "message": "Hello from Belgium", "attempts": 1 };
      await this.homey.flow.getTriggerCard("message-processing")?.trigger(tokens);
    });

    this.homey.flow.getActionCard("handle-message").registerRunListener(async (args) => {
      this.log("Handled Message Action.");
    });

    this.homey.flow.getTriggerCard("message-processing").registerRunListener(async (args) => {
      this.log("Processing Message Trigger.");
    });  
  }
};

```

Flow:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/37741f3c18d04b44942a0e5adc8e6caeb2063c6c.png)

Log:

```auto
2025-08-26T13:35:55.119Z [log] [FlowQueueBusApp] Flow Queue Bus has been initialized.
2025-08-26T13:36:09.940Z [log] [FlowQueueBusApp] Queue Message Action.
2025-08-26T13:36:09.946Z [log] [FlowQueueBusApp] Processing Message Trigger.

```

It never writes something to the timeline or logs “Handled Message Action.“, not even if I remove the tokens:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4add18ab665ed1dcf4319c77f835163f0006d73b.png)

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [August 26, 2025, 3:53pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285/2 "2025-08-26T15:53:19Z")

</div>

Try explicitly returning `true` from the run listener:

```javascript
this.homey.flow.getTriggerCard("message-processing").registerRunListener(async (args) => {
  this.log("Processing Message Trigger.");
  return true;
});  

```

---

<div class="post-metadata">

### Author: ![Svensei38](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svensei38/32/140297_2.png) [@Svensei38](https://community.homey.app/u/Svensei38)
#### Post date: [August 26, 2025, 4:00pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285/3 "2025-08-26T16:00:47Z")

</div>

@robertklep Holy moly that worked!

Thanks for your help! Does this mean I can cancel a trigger (for example if the name of the queue doesn’t match the argument)?

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [August 26, 2025, 4:47pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285/4 "2025-08-26T16:47:39Z")

</div>

Yes, that’s correct. If only it were properly documented… 🙄

---

<div class="post-metadata">

### Author: ![Svensei38](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svensei38/32/140297_2.png) [@Svensei38](https://community.homey.app/u/Svensei38)
#### Post date: [September 8, 2025, 7:14pm UTC](https://community.homey.app/t/trigger-card-gets-triggered-but-flows-stops/142285/5 "2025-09-08T19:14:39Z")

</div>

@robertklep

Thanks to you this got finished:

> [@Flow Queue Bus - Use this app for synchronizing messages via queues](https://community.homey.app/t/flow-queue-bus-use-this-app-for-synchronizing-messages-via-queues/142309):
>
> The application is live! star_struckIntro This app makes it possible to synchronize messages via named queues. Ideally for triggers that interfere with one another. The queuing system always works in a very straightforward way: QUEUE → PROCESS → MARK AS HANDLED/FAILED A queue is based on the principle “First In, First Out” (FIFO). As soon as you queue a new message, processing starts right away, unless there are messages before. CAUTION: you are responsible for marking messages as han…
