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

Call a flow from within another #125

Closed
gbishop opened this issue Nov 22, 2021 · 5 comments · Fixed by #168
Closed

Call a flow from within another #125

gbishop opened this issue Nov 22, 2021 · 5 comments · Fixed by #168

Comments

@gbishop
Copy link

gbishop commented Nov 22, 2021

Is your feature request related to a problem? Please describe.
I see I can call multiple flows from Collections but I want to trigger a sequence of flows at a specific time.

Describe the solution you'd like
What I'd like is the ability to trigger a flow at a time, then have it trigger another flow, which could then trigger another. This would make reusing flows easy like subroutines.

Describe alternatives you've considered
Collections are almost what I need but I don't see how to control when they trigger.

Additional context
Very neat extension!

@whwh656
Copy link

whwh656 commented Nov 23, 2021

good idea @gbishop

@Kholid060
Copy link
Member

If a workflow can trigger another workflow, I think it would make the collection feature kinda pointless. And I need to refactor the code that executes workflow because there's a circular dependency when trying to trigger another workflow. But I'll consider adding this feature

@gbishop
Copy link
Author

gbishop commented Nov 23, 2021

Yes. Recursion and arbitrary looping would come along as side effects.

I just built a pair of flows. One blocks a phone number in the evening and another unblocks it in the morning. The flows begin with the same long sequence to login. Splitting login out into its own flow would have been great.

@gkTim
Copy link

gkTim commented Dec 3, 2021

This would be a really great feature!

We also have a lot of steps we need to do every time.

Maybe a quick win for such a case would be a duplicate button for flows?
Of cause if you have a change you need to do it in every flow, but for the initial setup it would help.

@Kholid060 If duplicate is an option I can do it and open a PR

@Kholid060 Kholid060 mentioned this issue Dec 8, 2021
@gkTim
Copy link

gkTim commented Dec 8, 2021

@Kholid060 Thx for this fast implementation!
Really nice extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants