Hi, so I am developing a DocLauncher with multiple templates that have slightly different intake forms but all launch the same workflow. Ideally, the workflow would select different branches of logic depending on which template was selected but in order to do so it would need to know which template was selected, the heart of the problem. I'm wondering if anyone has any ideas for tackling this problem?
The brute force strategy would be to simply copy the workflow into different variants, one for each template/intake form, but this really increases cost of maintenance and developing new features. A slightly more elegant approach would be to refactor common parts of the workflow into "component" workflows but there's only so much that can be componentized and it's a non-trivial amount of work I'd like to avoid if possible.