PLM TC Relate

In this article

Overview

You can use this Snap to relate two Teamcenter objects.

Snap Type

The PLM TC Relate Snap is a write-type Snap that creates a new relationship between elements in Teamcenter.

Prerequisites

  • Valid client ID.

  • A valid account with the required permissions.

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 0

  • Max: 1

  • Mapper

  • JSON Generator

  • PLM TC BOM Structure Create

The primary ID, secondary ID, relation and attributes of the object.

Output

Document

 

  • Min: 1

  • Max: 1

  • PLM TC Classification Detailed Info

  • PLM TC Classification Delete

The two objects with the relationship.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current Pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Field Dependency

Description

Field Name

Field Type

Field Dependency

Description

Label*

 

Default ValuePLM TC Relate
ExamplePLM TC Relate1

String

None.

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

 

Primary ID*

 

Default ValueN/A
Example: project 1

String

None

Specify the UID or _id value of the primary object. It is a unique identifier assigned to that object within the Teamcenter database. It is a system-generated identifier that serves as the primary means of distinguishing one object from another.

Secondary ID*

 

Default ValueN/A
Example: relation b

String

None

Specify the UID or _id value of the secondary object. The Secondary ID could be an additional identifier or attribute assigned to an object, distinct from the Primary ID. These custom attributes can be created and defined by the Teamcenter administrators to accommodate specific data needs.

Relation

Default ValueN/A
Example: parent

String

None

Specify the name of the relation, that should be created.

Configure Output

Default Value: deselected

Checkbox

None

Select this checkbox if you want the Snap to specify the configuration of the Teamcenter properties in the output.

Type

 

Default Value: N/A
Example: Diameter

String/Expression

Configure Output

Name of the Teamcenter type.

Expand attributes path

Default Value: N/A
Example: attributes1 → item_response

String/Expression

Configure Output

Specify the path of the expand attributes in the input document.

Expand Attributes

Specify the attributes you want the Snap to fetch from Teamcenter. Each attribute must be specified as a new row. Click to add a row.

Name*

Default Value: None.
ExampleItem_response

String

Configure Output

Specify the name of the attribute.

Snap Execution

Default Value
Example: Validate & Execute

Dropdown list

None

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Snap Pack History


Related Content