For the managed package runtime, when you use a Select element within a repeatable block, review guidelines and examples for accessing data within or outside the same repeatable block. The Select element is used with Salesforce dependent picklists.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Guidelines
In a repeatable block containing a Select element tied to a Salesforce dependent picklist, you use the dependent picklist element to access controlling picklist selections.
Guidelines for the controlling picklist element properties:
| Property | Configuration |
|---|---|
| Name | We recommend indicating in the name that this property is tied to the controlling picklist. |
| Field Label | The label that your users see. |
| Option Source | Select SObject. |
| Source | Indicate the picklist controlling field, separating the object and field names with a period. |
| Controlling Field Type | Leave as None. |
Guidelines for the dependent picklist element properties:
| Property | Configuration |
|---|---|
| Name | We recommend indicating in the name that this property is tied to the controlling picklist. |
| Field Label | The label that your users see. |
| Option Source | Select SObject. |
| Source | Indicate the picklist dependent field, separating the object and field names with a period. |
| Controlling Field Type | Select SObject. |
| Controlling Field Source | Indicate the picklist controlling field, separating the object and field names with a period. |
|
Controlling Field Element In the same repeatable block |
If the controlling field element is within the same repeatable block,
enter BlockName|n:ElementName. Then,
when the Omniscript runs, it accesses the named element in the current
block. |
|
Controlling Field Element In a different repeatable block |
If the controlling field element (which references the controlling
picklist) is in a different repeatable block, enter BlockName|1:ControllingFieldElementName
(where the number after BlockName| is
the block’s count in the Omniscript). |



|n
to reference the controlling picklist because the picklists are in the same block.






