FlowCategory groups flows into a named category for inclusion in a Lightning Bolt Solution. Flows are not added directly to the solution; the category containing them is added instead. The category defines membership, not the implementation of the flows themselves.
Each member identifies a separate Flow component by API name. A category can therefore change which flows belong to a solution without changing those flows' logic.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The metadata component's identity, inherited from Metadata. This is distinct from its display label. |
masterLabel |
Required. The category label displayed in Setup. It is not a substitute for the component's fullName. |
flowCategoryItems |
The collection of nested FlowCategoryItems entries that defines category membership. |
flow |
Required within each FlowCategoryItems entry. Identifies a separate Flow component by API name; it does not contain the flow definition. |
description |
The description of the flow category. |
Behavior and Constraints
Each flowCategoryItems entry identifies one flow through its required flow element. Multiple entries form the category's member list. For example, entries naming PausableFlow and BankingFlow place both flows in the same category; their definitions remain separate components.
Category membership alone does not establish that a flow is active or that it has executed. Use the category to understand grouping, not activation or runtime behavior.
Changing category membership matters to Lightning Bolt Solutions that reference that category. Changing a member flow's logic belongs to the Flow component, not to FlowCategory.
Deployment and Retrieval
In Metadata API file format, FlowCategory components use the .flowCategory suffix and are stored in the flowCategories folder.
In package.xml, use FlowCategory as the metadata type name and the category's component name as the member. The type also supports * as a wildcard member in the manifest, the file that selects metadata for deployment or retrieval. Use the component identity rather than assuming that its Setup label is the same name.
FlowCategoryItems is a nested structure within a category, not a separate deployment component. Membership changes belong in the containing FlowCategory definition. The definition stores flow references rather than embedded flow definitions, so category membership and flow implementation are separate metadata changes.
Relationships
The dependency chain runs from a Lightning Bolt Solution to a category, then from the category to its member flows. When assessing a change, distinguish the category's outgoing flow references from incoming solution references.
References
-
Flow:flow, within eachflowCategoryItemsentry.
Referenced By
-
LightningBolt:name, on the referencing component.
Common Questions
How do I add flows to a Lightning Bolt Solution?
Add the flows to a FlowCategory, then add that category to the solution. Flows are not added directly to the solution.
Does adding a flow to a FlowCategory activate or run it?
Category membership alone is not evidence that a flow is active or has run. The category records grouping, not the flow's implementation or execution state.
Can I retrieve FlowCategory with a wildcard in package.xml?
Yes. FlowCategory supports * as a wildcard member in package.xml. Its Metadata API files use the .flowCategory suffix in the flowCategories folder.
Can I deploy FlowCategoryItems separately?
No. FlowCategoryItems entries are nested within the category. Change membership through the containing FlowCategory component; change flow logic through the separate Flow component.