Create Association
Use the Create Association action to create an association between two entity types.
Complete the following steps to use the Create Association action in your workflow:
1. Drag the
Create Association action under
Windchill to the canvas, place the pointer on the action, and then click
or double-click the action. The Create Association window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
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 Entity ID field, provide a single identifier of the Windchill entity in the Windchill object identifier (OID) format, OR:Type:ID, where Type is the internal name of the Windchill entity type.
8. In the Select Association list, select the required association. The association is the containment navigation property of the specified entity. If the containment navigation property has a containment navigation property under it, you can select the nested containment navigation property to create the association.
The fields in the input form change dynamically based on the association that you select.
9. Select Form to provide inputs for individual properties, supported navigation properties, and containment navigation properties listed in the form, or select Assign JSON to specify a single JSON with all properties, supported navigation properties, and containment navigation properties.
If the type of navigation property is an entity type, provide a single identifier. If the type of navigation property is a collection of an entity type, provide a comma-separated list of identifiers.
| From the Entity Type list, if you selected People, Place, Patient, or BusinessUnitOffice, and then selected Form, then no values are populated for the Related list under the Related Subjects section, and an error message is displayed. This is a Windchill issue and it will be fixed in an upcoming release. |
10. 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.
11. Click Done.
Output schema
Depending on the association that you select, the Create Association action returns a dynamic output schema.