Tc Relation Expand Multi
This Snap get the related or referenced objects from Teamcenter through the specified reference / relation for multiple objects. The relation information will be integrated in input document structure. Teamcenter Reference / Relation objects are created to relate two objects. They connect the primary business object and secondary business object through reference / relation.
Supported Accounts
- This is a Read-type Snap.
Works in Ultra Tasks

Prerequisites
- A valid Teamcenter account with the required permissions.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
Optional.This Snap has at the most one document input view. The required input of the snap is an array of objects identified by attribute UID or _id. |
|
| Output |
This Snap has exactly one document output view. The output of the snap is a copy of the input document where each objects includes a list object named by value of field Property Name. List contains 0 .. n related objects. |
|
| Learn more about Error handling. | ||
Examples
Tc Relation Expand Multi: Simple exampleSnap settings
| Field/Field set | Description |
|---|---|
Label
String |
Specify a unique name for the Snap. Modify this to
be more appropriate, especially if there are more than one of the same Snap in the
pipeline.
Default value: Tc Relation Expand Multi |
Configure policy
Checkbox |
Select this checkbox to run the Snap with a specific named Teamcenter policy. A policy determines the set of object properties that Teamcenter returns. Learn more: Configure policy. Default status: Deselected |
Configure session context
Checkbox |
Select this checkbox to run the Snap with a group, role, or project other than the one configured in the account. Learn more: Configure session context. Default status: Deselected |
Entities Path*
Expression |
Path to the array of Id (UID, _id) to be used to expand specified relation or reference. In JSON document the content for path can look like this:
“_id” (or UID) in each JSON object has to be an ID of existing objects in the connected Teamcenter. Default value: N/A Example: $.objects[*] |
Expansion Type*
Dropdown list |
Chose the value to define type of the expansion. Default value: Relation. Example: Reference |
Expansion Direction*
Dropdown list |
Chose the value to define direction of the expansion. Default value: Primary → Secondary. Example: Secondary → Primary |
Expansion
String/Expression/ Suggestion |
Specify the name of reference or relation to be expanded. Typically this name shall be provided by customers specification. For investigation the suggestion can be used. Default value: N/A Example: Fnd0IsDescribedByDocument |
Property Name
String/Expression/ Suggestion |
Appears in case Mode“inline” is selected. Specifiy a new property used as document key in the result to collect the relation or reference objects. Default value: N/A Example: MultiExpandDescribedBy |
Include relation
Checkbox/Expression |
Option to get the relation as object into the result. This might be neccessary in case the relation provides meta data for further processing needs. Default value: Unselected Example: Unselected |
Configure error handling
Checkbox |
Select this checkbox to define how the Snap behaves when Teamcenter returns an error. Use these settings for analysis and debugging. Learn more: Configure error handling. Default status: Deselected |
Simplified expand
Checkbox |
Select this checkbox to make the Snap look for the name given in
Expand Attributes Path in the input document (for example,
When deselected, configure Expand Attributes Path as a string or an expression. Default status: Deselected |
Expand Attributes Path
String/Expression |
Specify the JSON path to the expand attributes in the input document. Expand attributes are the list of attributes that the Teamcenter response must contain. Each name must be the technical name of a valid property in the Teamcenter data model for the expected objects. For example:
Learn more: Configuring Expand Attributes. Default value: N/A Example: $.expandAttributes |
Build reference/lov documents
Dropdown list/Expression |
Select how the Snap represents references and lists of values (LOVs) that
Teamcenter returns. The Snap can return them as nested JSON objects instead of
flattened IDs and internal values with additional
The available options are:
Default value: Use Default Example: Yes |
Configure output
Checkbox |
Select this checkbox to specify the Teamcenter properties that the Snap includes in the output. This Snap offers the output settings described in Variant: type and reference related fields for suggestion. Default status: Deselected |
Snap execution
Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
|