Tc Relation Expand: Simple input example

This example shows the input document that expands the relations of an object.

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

  • $uid to Object ID
  • $relationDocument to Expansion

UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.

[
  {
    "uid": "AWOAgogw7hAnmD",
    "relationDocument": "Fnd0IsDescribedByDocument"
  }
]

Snap configuration

Snap output


Settings of Snap matching information given in input document.

The JSON document provides an example of a Tc Relation Expand output from Tc Snap for Relation “Fnd0IsDescribedByDocument” and “inline” configuration.

[
  {
    "uid": "AWOAgogw7hAnmD",
    "relationDocument": "Fnd0IsDescribedByDocument",
    "ExpandDescribedBy": [
      {
        "_id": "TC*DocumentRevision*null***QuJAgogY7hAnmD",
        "checked_out": " ",
        "fms_tickets": [],
        "fnd0IRDCUsed": "",
        "has_variant_module": null,
        "is_IRDC": false,
        "is_vi": false,
        "items_tag": "TC*Document*null***QuFAgogY7hAnmD",
        "items_tag_DISPLAY": "051592-Clutch",
        "last_mod_date": "2025-01-21T11:53:05Z",
        "object_desc": "Document for correlating Part",
        "object_string": "051592/A;1-Clutch",
        "object_type": "DocumentRevision",
        "object_type_DISPLAY": "Document Revision",
        "owning_group": "TC*Group*null***QBFAAAA47hAnmD",
        "owning_group_DISPLAY": "Engineering",
        "owning_site": null,
        "owning_site_DISPLAY": "",
        "owning_user": "TC*User*null***A6CAAAx07hAnmD",
        "owning_user_DISPLAY": "ecs1 (ecs1)",
        "process_stage_list": [],
        "release_status_list": [],
        "revision_number": 0,
        "UID": "QuJAgogY7hAnmD",
        "view": []
      }
    ]
  }
]