Create Entity
The entity type is the fundamental building block for describing the structure of data with the Entity Data Model (EDM). In a conceptual model, entity types are constructed from properties and they describe the structure of top-level concepts such as customers and orders in a business application.
An entity represents a specific object such as a specific customer or order. Each entity must have a unique entity key within an entity set.
An entity set is a collection of instances for a specific entity type. Entity sets and association sets are logically grouped in an entity container. Inheritance is supported with entity types—one entity type can be derived from another.
Use the Create Entity action to create an OData entity.
Complete the following steps to use the Create Entity action in your workflow:
1. Drag the Create Entity action under OData to the canvas, place the pointer on the action, and then click or double-click the action. The Create Entity window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add an OData connector type, refer to Supported OData 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 OData connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Entity Set list, select an entity set.
After you select an entity set, fields for properties and supported navigation properties are displayed, and dynamically change based on the entity set that you select.
7. 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.
8. Click Show additional fields.
9. Under the Headers group, click Add to add a custom header to the request. Provide a Key and Value pair.
Click Add to add multiple key-value pairs. Click to delete any custom header that you added.
10. Click Done.
Output schema
The output schema for the Create Entity action returns a message string.
Was this helpful?