Delete Entity
Use this action to remove objects from the database.
Using the Delete Entity Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Delete Entity action under the Windchill connector to the canvas, place the pointer on the action, and then click or double-click the action. The Delete Entity 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:
Part
—Delete the part entity.
Document
—Delete the document entity.
5. Enter a Windchill entity identifier to delete, in the Windchill object identifier (OID) format: OR:Type:ID where, Type is the internal name of the Windchill entity type.
* 
This action supports only a single identifier.
6. Click Done.
Output Schema
The output schema for Delete Entity action returns a message string. For example, when an action successfully completes, an appropriate message appears.
See a sample output schema in the figure that follows:
Was this helpful?