Tc Classification Update

This Snap update a classification instance with new or changed values of the class attributes. Class attributes are the properties or characteristics associated with a specific class within a classification structure. They define the information that applies to objects categorized under that class in Teamcenter's classification module.

Supported Accounts


Settings tab of snap to show example values.

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 the Object ID and Classification attributes to update the Classification from Teamcenter.

Output

This Snap has exactly one document output view.

The output of the snap is the updated Classification.

Learn more about Error handling.

Examples

Create a part, classify it and update classification

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
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 Classification Update

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

Object ID*

String/Expression

Select the UID (unique identifier) or the Teamcenter adapter ID of the object.

Default value: $._id

Example: $.uid

Use label/id map

Checkbox/Expression

For basic classification only.

ON: Usage of attribute labels allowed to resolve Teamcenter property.

OFF: Skip Label→ID mapping.

Default value: Unselected

Example: Unselected

Use raw data

Checkbox/Expression

Only used for advanced classification.

Default value: Unselected

Example: Selected

Classification Attributes Path

String/Expression

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

In JSON document the content for path can look like this:

"classAttributes":{
		"2013": "4",
		"2014": "5"
	}

Name of the JSON property has to be the technical name of a valid property in Teamcenter datamodel for the given Classification object.

Default value: N/A

Example: $.classAttributes

Classification Attributes

Specify the table of attributes to set on the classification you want the Snap to create in the Teamcenter software. Each attribute must be specified as a new row. Click :add: to add a row.

In case Classification Attributes Path is configured to use attributes given in JSON input document these Classification Attributes are used additionally.

Name*

String/Expression

Specify the name of the attribute.

Default value: N/A

Example: Norm

Value*

String/Expression

Specify the value of the attribute.

Default value: N/A

Example: DIN-EN

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

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • 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.