retrieval of Teamcenter objects in Mendix

0
How to Retrieve Parameters, Parameter Values, and Equipment of a Particular Process from Teamcenter using Mendix?
asked
2 answers
0

Hi Venkat,

There is a platform supported team center integration connector on Mendix.

Mendix Marketplace - Teamcenter Connector

It will give you all the boilerplate code to connect with an Teamcenter. Please check this

Regards

Ajay

answered
0

Hi Venkata,

You can retrieve the Parameters, Parameter Values, and Equipment associated with a particular Process using the Teamcenter Connector for Mendix.

The implementation depends on how these objects are modeled and related in your Teamcenter environment.

Recommended approach:

  1. Identify the Process business object

    First, identify the actual Teamcenter business object type representing your Process and how Parameters and Equipment are associated with it.

    These may be standard Teamcenter objects or custom business objects defined through BMIDE.

  2. Retrieve the Process object

    Use the Teamcenter Connector to retrieve the required Process using its UID or another supported identifier/search operation.

  3. Retrieve related Parameters and Equipment

    If the relationships are GRM relations, use:

    • ExpandGRMRelationsForPrimary to retrieve secondary objects related to the Process.

    • ExpandGRMRelationsForSecondary if the relationship is defined in the opposite direction.

    Configure the appropriate Teamcenter relation type names and business object mappings.

  4. Retrieve Parameter Values

    If Parameter Values are properties of Parameter objects, use the connector's GetProperties action.

    If Parameter Values are stored as separate related objects, retrieve them through their corresponding relationships instead.

  5. Retrieve Equipment

    If Equipment is related through GRM relations, expand the appropriate relation.

    If it is part of a manufacturing or product structure, use the relevant Teamcenter structure-management operations instead.

Suggested microflow structure:

ACT_GetProcessDetails
       |
       v
Retrieve Process from Teamcenter
       |
       v
Expand Process Relationships
       |
       +--> Retrieve Parameters
       |          |
       |          v
       |     Get Parameter Values
       |
       +--> Retrieve Equipment
       |
       v
Map Results to Mendix Entities
       |
       v
Display Process Details

Alternative: Teamcenter Extension

If you are using the Teamcenter Extension, you can configure object mappings and select the required properties, references, and relations. The extension can generate the corresponding Mendix entities and integration microflows.

Important: There is no universal relation name that applies to every Teamcenter Process model. You must identify the actual business object types and relation/property names in your Teamcenter environment.

Official documentation:

Could you confirm which Teamcenter Process object type you are using and whether Parameters and Equipment are connected through GRM relations, object properties, or a manufacturing structure? With that information, the exact connector actions and object mappings can be identified.

Hope this helps! If you find this answer helpful, please mark it as the accepted answer.

answered