Using Teamcenter Services Included with the Teamcenter Connector
Introduction
Teamcenter services are provided through Java actions. You can see the available services in the Teamcenter section of the Toolbox.

Using Teamcenter Services through the Teamcenter Connector: Process Workflow

Using Teamcenter Services Available in the Teamcenter Connector
- Design a microflow as per your business logic.
- Drag a service from the Teamcenter category of the toolbox into the microflow.
- Specify input parameters for the Teamcenter service.
- Specify how data is retrieved.
- Test your application.
Example: Using the Available Teamcenter Services
The Sample Application has microflows that use the available services such as CreateItem and Search. Download the Teamcenter Connector Sample Application from the Mendix Marketplace, and import it into your project.
Handling Errors
It is a good practice to set up error handling on all your Teamcenter services in a microflow.
Use the HandleServiceErrors microflow to handle errors. To handle errors:
In your microflow, right-click your Teamcenter service and choose Set error handling.
In the Error handling dialog box, choose the error handling component.

Drag the Microflow call service from the Toolbox to your microflow.
Update the Action section of the microflow and select the TcConnector.HandleServiceErrors microflow.
Update the ServiceExeption parameter and specify the type of error.

Connect the Microflow call service with the service from where the error will originate.

Right-click the anchor point of the Teamcenter service and choose Set as error handler.

Specify an end event for your Handle Service Errors service.
