Tc Find Object by Attributes: Simple input example

This example shows the input document that finds Teamcenter objects by their attribute values.

In the snap configuration following values has to fed into fields:

  • $type to Object Type
  • $attributes to Object Attributes Path
  • $expand to Expand Attributes Path
[
  {
    "Type": "Document",
    "Attributes": {
      "object_name": "Snaplogic Testdoc"
    },
    "expand": [
      "object_desc"
    ]
  }
]

Snap configuration

Snap output


Settings of Snap matching JSON document given in input.

The JSON document provides an example of a Tc Find Object by Attributes output with data from Teamcenter.

[
  {
  "_id": "TC*Document*null***A2CAwENB7hAnmD"
  "object_desc": "Description"
  "UID": "A2CAwENB7hAnmD"
  }
]