Tc Change Ownership: Simple input example

This example shows the input document that changes the owning user and owning group of a part in Teamcenter.

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

  • $uid to Object ID
  • $newOwner to New owning user
  • $newGroup to New owning group
  • $expand to Expand Attributes Path

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.

Owner and group have to exist in connected Teamcenter. Otherwise error will occur.

[
  {
    "uid": "AaBAgALP7hAnmD",
    "newOwner": "ecs2",
    "newGroup": "test",
    "expand":[
      "group",
      "user",
      "object_name"
     ]
  }
]

Snap configuration

Snap output


Settings of snap ChangeOwnership.


JSON output document shows object information including owning user properties.