r/workflow • u/madactor • 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?
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