---
schema_version: "1"
id: 5a343cf313caef59c829a48df05c4f009c17c3d3b55d0a6101ee73561ca0e2f8
title: Configure Recipe Execution
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_wave_templates/guides/concept/bi-templatesdev-execute-recipe.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/guide/bi-templatesdev-execute-recipe.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 58b60a92088b34f14002a4fbdcf790152b2d6248b1777ec6de1aab957fee6ed9
products:
  - Analytics Templates Developer Guide
  - analytics
---

# Configure Recipe Execution

Data Prep recipes can be complex and add to app creation time if they sync and execute while the templated app is generating. Recipes can also change the shape of your existing data. The `executeCondition` attribute for recipe entries allows you to specify if a templated recipe syncs and executes during templated app creation or not.

To specify the execution selection for a recipe entry in `template-info.json`, add the `executeCondition` attribute. The valid values for this attribute are:

- `CreateOnly`—Create the recipe during templated app creation, but don’t sync or execute it.
- `CreateExecute`—Create and execute the recipe during templated app creation, but don’t sync it.
- `CreateSyncExecute`—(Default) Create, sync, and execute the recipe during templated app creation.

The `executeCondition` attribute is optional. When not specified, the default behavior during templated app creation is to create, sync, and execute the recipe.

After app creation, all recipes created are visible in the Data Manager. You can verify a recipe was created correctly for your data, then configure it for data sync, execution, and scheduling.

Here are examples for recipe entries using `executeCondition` in `template-info.json`.

## Example

Specify a recipe that is created at templated app runtime, but data sync and recipe execution aren’t run.

```nolang
"recipes": [
  {
    "label": "Sentiment Analysis Recipe",
    "name": "Sentiment_Analysis_Recipe",
    "file": "sentiment_analysis_recipe.json",
    "executeCondition": "CreateOnly"
  }
]
```

## Example

Specify a recipe where the `executeCondition` is determined by an EL expression, like a variable value. The EL expression used must evaluate to one of the valid values.

```nolang
"recipes": [
  {
    "label": "Contact Import Recipe",
    "name": "Contact_Import_Recipe",
    "file": "contact_import_recipe.json",
    "executeCondition": "${Variables.executionType}"
  }
]
```
