Multiple recipes from a project

yashpuranik
Multiple recipes from a project

Can one create multiple application-as-a-recipe recipes from a single project? https://doc.dataiku.com/dss/latest/applications/application-as-recipe.html talks about converting parts of a project into a recipe. Can I break multiple parts of a long flow into multiple recipes designed via the Application Designer?

yashpuranik
0 Kudos
2 Replies
ktgross15
Dataiker

Hi @yashpuranik ,

Each project can only be associated with one application (or application-as-recipe).

You can, however, copy a "subflow" to a new project, by holding down SHIFT and selecting (or drawing a box around) the datasets and recipes you need, then clicking on FLOW ACTIONS (bottom right) --> COPY SUBFLOW --> COPY TO, and then create a new project to create the app-as-recipe from.

Let me know if this helps or if you have any questions!

Katie 

0 Kudos
yashpuranik
Author

Its not an ideal solution, but what you described will work, although it is clunky and non ideal.

An alternative we are working with is having multiple scenarios associated with an app-as-recipe, and using the recipe controls to update project variables, which in turn will provide conditions on which scenarios to run (if condition satisfied in the run this step option).

yashpuranik
0 Kudos