SvcCatalogFulfillmentFlow connects a Service Catalog item to a named Flow and describes the input variables available for fulfillment. It is not the executable Flow definition: flow references that separate component, while items contains nested SvcCatalogFulfillFlowItem input definitions.
Key Elements
| Element | What the Element Controls |
|---|---|
description |
Required free-text description of the fulfillment flow. |
flow |
Required name of the separate Flow represented by this component. |
masterLabel |
Required primary label. The component has its own label, and each entry in items also requires a masterLabel. An item's label does not bind it to a Flow variable. |
items |
List of input definitions, each represented by a nested SvcCatalogFulfillFlowItem. |
catalogInputVariable |
Required within each item. Identifies the FlowVariable in the referenced Flow that accepts the input. |
displayType |
Input display type within an item. Allowed values are Checkbox, Date, DateTime, Lookup, Number, Picklist, Queue, and Text. |
isRequired |
Within an item, determines whether the input is required for the related fulfillment flow to execute. |
isAdditionalQuestionsInputVariable |
Within an item, designates the input that receives all additional questions asked of the user. It can be true only for Text, and only one item per component can set it to true. |
objectLookupDomain |
Within an item, names a standard or custom object. For Lookup or Picklist, filters the available options to that object. |
fieldLookupDomain |
Within an item, specifies the lookup or picklist domain. Relevant only for Lookup or Picklist. The value FieldDefinition activates additional rules for Lookup. |
fieldDefinition |
Within an item, names a field on the object identified by objectLookupDomain. It must name a picklist field for Picklist, or a relationship field for Lookup when fieldLookupDomain is FieldDefinition. |
lookupDomainFieldType |
Within an item, specifies which fields from objectLookupDomain appear in Catalog Builder by type. Relevant only when displayType is Lookup and fieldLookupDomain is FieldDefinition. |
isProtected |
Auto-generated value that currently has no impact. It does not provide effective access control or component protection. |
Behavior and Constraints
Input binding and required values
Each item's catalogInputVariable binds to an input-accepting variable in the Flow named by flow. The binding does not use the item's masterLabel. When a referenced Flow's input variables change, the corresponding bindings need review.
isRequired controls whether an input is needed for execution. This is separate from required metadata elements: the component requires description, flow, and masterLabel, and each item requires catalogInputVariable and masterLabel.
Additional questions use one input
The additional-questions flag collects all additional questions into one designated input. Two constraints apply together: that item's displayType must be Text, and no other item in the same component can set isAdditionalQuestionsInputVariable to true. It is not a flag to assign independently to several question inputs.
Lookup and picklist settings work together
A field name alone is not enough to interpret an input. Its object context, display type, and lookup domain determine its meaning and validity:
- For
LookuporPicklist,objectLookupDomainfilters options to a named object, whilefieldLookupDomainspecifies the lookup or picklist domain. -
fieldDefinitionidentifies a field on the object named byobjectLookupDomain. ForPicklist, that field must be a picklist field. - For
LookupwithfieldLookupDomainset toFieldDefinition,fieldDefinitionmust identify a relationship field. Only in this combination doeslookupDomainFieldTypecontrol which fields appear in Catalog Builder by type.
For example, a picklist input can use objectLookupDomain of Case and fieldDefinition of Origin. A lookup input can instead use objectLookupDomain of Contact, fieldDefinition of AccountId, and fieldLookupDomain of Account. The object containing the field and the lookup's domain are distinct parts of that configuration.
Deployment and Retrieval
Components use the .fulfillmentFlow suffix and are stored in the svcCatalogFulfillmentFlows folder. The metadata type name used in package.xml is SvcCatalogFulfillmentFlow. It supports the * wildcard in the manifest.
The Flow named by flow is a separate dependency, not an executable definition embedded in this component. The nested items describe its inputs. A deployment therefore needs to account for both the referenced Flow and the input variable names used by catalogInputVariable.
Custom objects and fields can also be dependencies. Preserve each field reference's nesting and object context when assembling dependencies: fieldDefinition belongs to an item and is interpreted against that item's objectLookupDomain. For lookup and picklist inputs, retain the associated displayType and domain settings rather than treating the field name as a standalone reference.
Do not use isProtected as a deployment protection mechanism. Its auto-generated value currently has no effect.
Relationships
The principal dependency is the executable Flow. Input definitions also connect catalog configuration to that Flow's variables and, for lookup or picklist configuration, to objects and fields. SvcCatalogFulfillFlowItem is the nested input structure, not the referenced Flow definition.
References
-
Flow:flow. -
CustomField:fieldDefinitionwithinitems, interpreted in the context ofobjectLookupDomain. -
CustomObject:fieldLookupDomainandobjectLookupDomainwithinitems.
Documentation Inconsistencies
The description of fieldLookupDomain calls it the name of a standard or custom object, but the rules for fieldDefinition and lookupDomainFieldType also explicitly recognize the value FieldDefinition. For a Lookup input using that value, apply the documented relationship-field and field-type rules rather than interpreting the setting only as an object name.
Common Questions
Does deploying SvcCatalogFulfillmentFlow also define the executable Flow?
No. The flow element names a separate Flow component. The fulfillment-flow component describes the catalog connection and its input definitions.
Does masterLabel bind a catalog input to a Flow variable?
No. catalogInputVariable identifies the input variable in the referenced Flow. masterLabel supplies the item's label.
Can multiple inputs receive additional questions?
Only one item per component can set isAdditionalQuestionsInputVariable to true, and that item must use displayType of Text. It receives all additional questions.
Why is fieldDefinition not enough to configure a lookup or picklist?
The field belongs to the object named by objectLookupDomain. Its validity also depends on displayType and fieldLookupDomain: picklists require a picklist field, while a lookup using the FieldDefinition domain requires a relationship field.
Can I retrieve all SvcCatalogFulfillmentFlow components with a wildcard?
Yes. Use * as the member for SvcCatalogFulfillmentFlow in package.xml. Components use the .fulfillmentFlow suffix in the svcCatalogFulfillmentFlows folder.