Contents:
Reuse Recipe with the Same Flow
The easiest way to reuse a recipe is to change its inputs in Flow View.
NOTE: You can create variation in the paths to your imported datasets. For example, if you have File01.csv and File02.csv, you can create a single dataset with parameters to capture both files and apply the same recipe to it. For more information, see Create Dataset with Parameters.
- Open the flow containing the recipe.
- Select the recipe that you'd like to reuse.
- From the recipe's context menu, select Change input.... Select the object to be the input to the recipe.
Reuse Copy of Recipe in the Same Flow
You can also create copies of recipes within the same flow.
Steps:
- In Flow View, select the recipe to copy.
- From the recipe context menu, select Make a copy > WIthout inputs.
- The recipe is copied and added to your flow.
- To apply the recipe to a dataset, select from the new recipe's context menu, Change input....
Reuse Recipe with a New Flow
You can reuse a recipe by creating a copy of the flow that contains it and then replacing the recipes inputs with different sources.
Steps:
- In the left nav bar, select the Flows icon.
- In the Flows page, locate the flow that you wish to copy. In its context menu, select Make a copy....
- Provide a new name and description for the flow. Click Ok.
- Open the newly copied flow. Select the recipe that you'd like to reuse.
- From the recipe's context menu, select Change input.... Select the object to be the input to the recipe.
- Delete any unneeded objects in the copied flow.
Reuse Recipe in a Different Environment
If you need to reuse a recipe in a different instance of Designer Cloud Enterprise Edition, you have two choices:
- Export the entire flow and import it into the new environment. Open the flow in the new environment. In Flow View, remove all objects that are not of interest. See Export Flow.
- Turn all of the steps of a recipe into a macro. Export the macro and then import into the new environment. You may choose to remove the macro from the original environment. See Export Macro.
Download Recipe
You can download a recipe in text form in the following ways:
NOTE: A downloaded recipe is in a text form of Wrangle (a domain-specific language for data transformation). In this form, it cannot be used in the application. Downloaded recipes are for archival purposes only.
- In Flow View, select the recipe to download. From the context menu, select Download recipe.... See Flow View Page.
- In the Recipe panel in the Transformer page, click the context menu, and select Download recipe as Wrangle. See Recipe Panel.
This page has no comments.