Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

You can use this Snap to add a new item or revision to the Teamcenter software bill of materials (BOM) structure based on the specifications of an input JSON document.

...

Snap Type

The Teamcenter BOM Structure Add Snap is a Write-type Snap that writes JSON input documents to the Teamcenter software.

Prerequisites

  • Valid client ID.

  • A valid account with the required permissions.

...

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 1

  • Max: 1

  • Mapper

  • JSON Generator

The Teamcenter type parent ID, child ID and the attributes that needs to must be fetched from the Teamcenter software.

Output

Document

  • Min: 1

  • Max: 1

  • Teamcenter BOM Structure Get

  • Teamcenter BOM Structure Get Recursive

The created BOM StructureBOM structure with the new added element.

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.

...

TypeExpand

Field Name

Field Type

Description

Label*

Default Value: Teamcenter  Teamcenter BOM Structure CreateAdd
ExampleTeamcenter BOM Structure Createadd

String

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.

pipeline.

Parent ID*

Default Value: N/A
Example: Client details

String/Expression

Specify the _id or a UID of the parent item where you want to add the new item.

Child ID*

Default Value: N/A
Example: new client_tc

String/Expression

Specify the _id, a UID, or a Teamcenter adapter ID of the child which you want to add to the parent element.

Revision Rule*

 

Default Value: N/A
Example: 3<1

String/Expression/Suggestion

Specify the revision rule that you want the Snap to use for the structure expansion.

View type

Default Value: N N/A
Example: Diameter Queryview

String/Expression/Suggestion

Specify the name of the Teamcenter type.

view type to determine the layout, visibility, and organization of data in the Teamcenter software. A view type represents a preconfigured collection of attributes and visual settings employed to showcase details regarding an object or a particular facet of the system's capabilities.

Child line attributes path

Default Value: N/A
Example: newclient-tc ->color

String/Expression

Specify the path to the child line attributes in the input document. Child line attributes are the specific attributes of the child objects within a parent-child relationship or hierarchical structure. When creating a parent-child relationship in the Teamcenter software, child line attributes can be defined to capture and store data that is relevant to the child objects.

Child Attributes

Specify the attributes of the child by which you want the Snap to fetch the item from the Teamcenter software. Each atribute attribute must be specified as a new row. Click (blue star) to add a row.

Name*

Default Value: None
ExampleQuantity

String

Specify the name of the attribute.

Name*

Default Value: None
ExampleItem_response5

String

Specify the name value of the attribute.

Snap Execution

Default ValueExecute
Example: Validate & Execute

Dropdown list

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 pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline pipeline runtime.

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

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

...