WaveDataflow represents a dataflow in CRM Analytics as metadata with component content. It extends MetadataWithContent and inherits content and fullName, so the component contains more than its descriptive settings and application association.
A dataflow is separate from both the recipe that references it and the Analytics application it belongs to. Retrieving a WaveRecipe does not, by itself, establish that its referenced WaveDataflow was also retrieved.
Key Elements
| Element | What the Element Controls |
|---|---|
application |
The name of the connected Analytics application. References WaveApplication. |
dataflowType |
The dataflow type. Supported values are User and Prepared; the default is User. |
description |
The dataflow description shown in the user interface. |
masterLabel |
Required. The dataflow name shown in the user interface, distinct from its metadata identity. |
fullName |
The inherited metadata identity of the component. Do not confuse it with the display name in masterLabel. |
content |
The component content inherited from MetadataWithContent, separate from the descriptive fields. |
Behavior and Constraints
masterLabel is required, but it is a user-facing name rather than the component's fullName. Similarly, description supplies UI text; neither field replaces the component content.
The recipe-to-dataflow link and the dataflow-to-application link are separate relationships. A recipe uses its own dataflow element to reference the dataflow, while WaveDataflow.application names the connected application. A same-named recipe and dataflow appeared in a reported deployment workaround, but that report does not establish a universal naming requirement.
Deployment and Retrieval
WaveDataflow components use the .wdf suffix and are stored in the wave folder. The type supports the * wildcard in package.xml, the manifest that identifies components for a metadata deployment or retrieval. Use the exact type name WaveDataflow.
Deployment scope depends on the actual component references and what already exists in the destination. When diagnosing a recipe deployment, inspect its dataflow reference and check whether that dataflow is included in the deployment or already present in the destination. A retrieved recipe alone is not confirmation that the dataflow dependency is available.
Analytics configuration can also matter in a scratch org. A reported successful setup used the DevelopmentWave and AnalyticsAdminPerms scratch-org features and enabled Analytics before source push. This is a working configuration reported for a simple dataflow, not a complete prerequisite list for every destination.
A failed retrieval does not establish that a dataflow dependency is absent. In particular, a reported field-deletion block remained consequential even though the org returned an availability error when the dataflow was retrieved.
Relationships
The reference chain is WaveRecipe to WaveDataflow to WaveApplication. These remain separate metadata components; the existence of a possible relationship does not mean every deployment must include all three.
References
-
WaveApplication:application.
Referenced By
-
WaveRecipe:dataflow.
Reported Issues
-
Recipe deployment can fail when retrieval omits the associated dataflow. In a 2021 SFDX-based deployment discussion, deploying
WaveApplication,WaveDataset, andWaveRecipeproduced "A Recipe must specify a Dataflow". A respondent reported that source pull had retrieved the recipe without its associatedWaveDataflow. Separately retrieving a same-named dataflow and adding it to the deployment reportedly resolved the problem. This is a reported retrieval issue and remedy, not a universal naming rule or a required workaround for current tooling. See the recipe deployment discussion. -
A dataflow dependency can block field deletion even when dataflow retrieval fails. In a 2023 production-org report, a Lead picklist field's "Where is this used?" results identified a
WaveDataflowdependency that prevented deletion. Retrieval returned "Entity type 'WaveDataflow' is not available in this organization". No resolution was documented, and the report did not establish the cause of the availability error. Retrieval failure alone therefore does not show that the dependency is safe to ignore. See the field-deletion dependency report. -
A simple dataflow was successfully pushed to a scratch org after Analytics setup. In a 2023 report, the working configuration added
DevelopmentWaveandAnalyticsAdminPermsto the scratch-org features, installed the Analytics CLI plugin, and enabled Analytics through the plugin before source push. The result supports that configuration under the reported conditions, rather than proving a complete prerequisite list for all orgs. See the scratch-org deployment discussion.
Common Questions
Where are WaveDataflow files stored, and can I retrieve them with a wildcard?
They use the .wdf suffix in the wave folder. WaveDataflow supports * in package.xml.
Why does recipe deployment say "A Recipe must specify a Dataflow"?
An omitted dataflow was the reported cause in a 2021 discussion. Check the recipe's dataflow reference and whether the referenced component is included or already exists in the destination. Retrieving the recipe alone does not prove that its dataflow was retrieved.
What values does dataflowType support?
dataflowType supports User and Prepared. Its default is User.
Can a WaveDataflow dependency still block field deletion if I cannot retrieve it?
Yes, that combination was reported in a production org in 2023. The availability error did not establish that the dependency was absent, and the discussion documented neither a cause nor a resolution.
What Analytics setup has worked for scratch-org deployment?
A 2023 report successfully pushed a simple dataflow after adding DevelopmentWave and AnalyticsAdminPerms to the scratch-org features and enabling Analytics through the Analytics CLI plugin before source push. That report is not a complete prerequisite list for every org.