Use this action to modify an object in Windchill. The check out action places a lock on the object in the database so that other users are prevented from modifying the object while you have it checked out. You can release the lock on the object and make it available to others by undoing the check-out or by checking in the object.
Using the Check-Out Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Check-Out action under the Windchill connector to the canvas, place the pointer on the action, and then click or double-click the action. The Check-Out action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a Connection in the Windchill connector topic. The default value is Basic.
If you previously added a connection for Windchill, select a connection from the list.
4. Select an Entity Type from the list:
—Checkout the part entity.
—Checkout the document entity.
—Checkout the CADDocument. For more information on checking out the CADDocument, refer to the section Selecting CADDocument.
5. Enter a Windchill entity identifier in the Windchill object identifier (OID) format: OR:Type:ID where, Type is the internal name of the Windchill entity type. The identifier should not be URL encoded.
This action supports only a single identifier. For example, the CAD document identifier is OR:wt.epm.EPMDocument:650550
6. Click + to view the additional fields, and then enter comments about any changes made to the part, document, or CADDocument in the Check-Out Note field.
7. Click Done.
Selecting CADDocument
1. In the Entity Type field, select CADDocument.
2. In the Identifier field, specify an object ID.
3. In the Select WorkSpace Type field, select the type of workspace to perform the checkout operation.
Select New Workspace Name—Create a new workspace. If you are creating a new workspace, then enter a name for the new workspace. This new workspace is created at run time during the check-out action.
Existing WorkSpace—Select from a list of workspaces.
4. In the Check-Out Note field, enter a note, and then click Done.
Output Schema
The output schema for this action displays the details of the checked-out Windchill entity. The output schema is dynamically injected as per selection of an entity from the Entity Type list.
See a sample output schema for the CADDocument entity type of the Check-Out action in the figure that follows: