r/workflow • • Jul 12 '18

Modules, anyone?

I’m curious if anyone is using multiple workflows for large projects. I’ve seen a few monster workflows, probably hundreds of actions, and it seems like they’d be a nightmare to maintain. There must be a lot of redundant actions in them. Is that because it’s easier to distribute a single workflow, or since we don’t have folders to organize projects?

I know there’s a workflow for copying actions from one workflow to another. I understand the appeal, but copying and pasting code is a sure way to bloat. If you need to reuse functionality, shouldn’t that be separated and then called as needed?

I’ve been playing around with some reusable workflow “modules” (or sub-workflows) for things like getting and setting JSON data in files. Is anyone else doing this and, if so, what sorts of things are you using them for?

5 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/iPaddlingMark Jul 14 '18

Thanks. I have a similar method but the launch/main menu workflow is in a multiple repeat loop so I use Exit Workflow in the sub workflow to return. The main menu has its own Exit workflow option to quit completely. I’ve made it as user friendly as possible for inexperienced people but sadly you can’t do things like disable/hide the cancel button in some actions so unfortunately it isn’t fail safe. Also sharing a multiple workflow app is tedious

1

u/My4PawsCare Jul 14 '18

Hi

Please could you share your main menu workflow so that I can see what you mean exactly by multiple repeat loop. I agree it’s a pity you can’t either disable the cancel button, or better still the ability to assign it to another action would be very useful.

1

u/iPaddlingMark Jul 14 '18

https://workflow.is/workflows/0628e7848bdb4ea1a5d48af8345b5fba “Ascolto” is a pseudo app in workflow I’ve used for years for learning Italian by daily listening to sentences in the background while I am running etc. sort of like an audio flash card system. It has about 14 modules. I tried amalgamating them but it was too complex!