Problem triggering a flow from another flow

I have an issue with triggering a flow from another flow, it seems to me that the subflow is not running.
This can be tested with making 2 flows:

Flow1
When: When this flow is started
Then: Activate Flow 2

Flow2
When: When this flow is started
Then: Create a notification with “some text”

When executing flow 1, I do not get the flow 2 notification, but when I execute flow 2, I get the notification.

Any reason for this not working?

I’m not sure because I use Dutch language, but maybe you use the wrong flow card.
In Dutch there is “start flow” and “schakel flow in” which I think is activate.
If so, activate does not execute a flow but it enables it. Try the other card :grinning:

You are right :slight_smile: thanks!

1 Like

I have a similar problem. I would like to start the Flow B only if Flow A started. Is that even possible in Homey Pro version 2023?

I my case I to call from Advanced flow “A” by using flow card e.g.
image
and then on Advanced flow 40.511 start-card (do this before flow A card…)
image

Or you meant something different?

Thanks @Eko_taas for the swift reply.
I attached two screenshots, which hopefully will help in explaining what I’m hoping to accomplish.

Flow A

Flow B

I would like Flow B to start only if Flow A is “true”.

Assuming you mean that “true” as long as Flow A is running (i.e. around 2min)? One option is to start timer on flow A (just examples from mine, use e.g. 2min instead) :

and use it as tricker (or condition) in flow B (just examples):


image

Would this work for you?

Thanks for your examples. Did I set this up correctly? I feel I’m missing some extra card.

Flow A

Flow B

No ALL block after multiple triggers
Triggers probably never trigger at the exact same moment
Use an ANY block instead, or just connect both cards to the next one (ANY is fully optional).
Additional info:

I understand, and thanks for your tip, but I want the remaining part of that flow to continue only if both cards (timer completed andit’s 23:00).are true.

Tricker with time (23:00) and use when card "timer is running (see my 2nd set, 2nd snag) and continue only if false (then completed some time back unless you re-start / delete it) and you have it what you are looking for…

I don’t have a false dot/option on my “timer is running” card.

Use “when” card , take input from tricker, cont. flow from false (marked with red in :point_down: ) :
image

Many other ways also to do the same, e.g. if want to have no extra Apps, you can also (sorry for “wireframe explanation”, but just in case needed…)

  • create new variable varA (e.g. number-type)
  • add logic-then card to set varA to 1 (at last part of FlowA)
  • add logic-when card to check varA (on FlowB after desired main tricker)
  • set varA to 0 on suitable location (e.g. new flow tricked at 24:00)

I hope this helps :thinking:

Which card are you using with that yellow icon (directly beneath the “timer is finished” card)?

Sorry that I caught this so late, but I want Flow B to start 4 and a half hours after Flow A ended. Is my only option is to use a delay of 270 minutes?

Flow A only runs if someone rings the doorbell between 18:20 and 18:40 on a weekday.

And you want to run flow B at 23:00 only when flow A has run?

Then you should create a YES/NO variable ‘someone rang the doorbell between 18:20 and 18:40’
FlowA
WHEN
the doorbell rang
AND
Time is between 18:20 and 18:40
AND
it’s a weekday
THEN
set variable ‘someone rang the doorbell between 18:20 and 18:40’ to YES
and the rest of your flow

FlowB
WHEN
it’s 23:00
AND
logic-card ‘someone rang the doorbell between 18:20 and 18:40’ is YES
THEN
set ‘someone rang the doorbell between 18:20 and 18:40’ to NO
and the rest of flow B

1 Like

No, one of many… I would use timer fot this, as seen from Kam’s reply, also variable usage possible…