Set State
Use the Set State action to set a lifecycle state for a Windchill entity.
Complete the following steps to use the Set State action in your workflow:
1. Drag the Set State action under Windchill to the canvas, place the pointer on the action, and then click or double-click the action. The Set State window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Windchill connector type, refer to Supported Windchill Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Windchill connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Entity Type list, select an entity type.
7. In the Identifier field, provide 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. An example of a part identifier is OR:wt.part.WTPart:646192.
This action supports a single identifier only. The identifier should not be URL encoded.
8. In the Select state list, select the state that you want to set for the specified OID.
9. Click Show Additional Fields to see additional fields.
In Get OData Annotations, select true to include OData Annotations in the output. The default value is false.
10. Click Done.
Output schema
The output schema for the Set State action changes based on the entity type you select.
Was this helpful?