# Flow Contitions: Could not find that FlowCardCondition

**URL:** <https://community.homey.app/t/flow-contitions-could-not-find-that-flowcardcondition/72108>\
**Category:** Developers\
**Created:** [November 13, 2022, 11:58am UTC](https://community.homey.app/t/flow-contitions-could-not-find-that-flowcardcondition/72108 "2022-11-13T11:58:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_LABLAINE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas_lablaine/32/29951_2.png) [@Nicolas\_LABLAINE](https://community.homey.app/u/Nicolas_LABLAINE)\
**Post date:** [November 13, 2022, 11:58am UTC](https://community.homey.app/t/flow-contitions-could-not-find-that-flowcardcondition/72108/1 "2022-11-13T11:58:56Z")

</div>

hello, I have a problem with the flow conditions

I declare them in my driver.flow.compose.json  
like this:

```auto
"conditions": [
        {
            "id": "Heating.HeatingButton",
            "title": {
                "en": "Heating Button !{{is|isn't}} active",
                "fr": "Heating Button !{{est|n'est pas}} activé"
            }
        },
        {
            "id": "Heating.DemandOnOff",
            "title": {
                "en": "Demand OnOff !{{is|isn't}} active",
                "fr": "Demand OnOff !{{est|n'est pas}} activé"
            }
        },
        {
            "id": "Heating.HeatingRelay",
            "title": {
                "en": "Heating Relay !{{is|isn't}} active",
                "fr": "Heating Relay !{{est|n'est pas}} activé"
            }
        }
    ]

```

after I initialize them in my driver like this:

```auto
this.conditionsList = [
            "Heating.HeatingRelay",
            "Heating.DemandOnOff",
            "Heating.HeatingButton",
        ]
        this. conditionsFlow = {};
        this.conditionsList.forEach(c => {
            this.log("Create Condition card " + c);
            this.conditionsFlow[c] = this.homey.flow
                .getConditionCard(c)
                .registerRunListener(async (args, state) => {
                    this.log({ args, state });
                })
        })

```

they appear well in the flow editor, I have them in my device  
but when executing, it tells me: “Could not find that FlowCardCondition”

Am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![Nicolas\_LABLAINE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolas_lablaine/32/29951_2.png) [@Nicolas\_LABLAINE](https://community.homey.app/u/Nicolas_LABLAINE)\
**Post date:** [November 13, 2022, 12:19pm UTC](https://community.homey.app/t/flow-contitions-could-not-find-that-flowcardcondition/72108/2 "2022-11-13T12:19:57Z")

</div>

In fact it works, you had to update the flow in the dashboard
