ThingWorx Flow > Connectors Overview > System Connectors > ThingWorx > Define InfoTable
  
Define InfoTable
Use this action to construct an InfoTable data structure that can be used as an input to other ThingWorx actions or to return data as an output from the workflow.
Using the Define InfoTable Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to a flow, do the following:
1. Drag the Define InfoTable action under the ThingWorx connector to the canvas, place the pointer on the action, and then click or double-click the action. The Define InfoTable 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 ThingWorx connector topic. The default value is ThingWorx App Key.
* 
If you previously added a ThingWorx connection, select a connection from the list.
4. In the Data Shape field, select the appropriate option from the list.
5. Under the Field Definition Mappings section, map the Input data from previous actions on the right-hand panel to the fields of the selected data shape.
* 
Building InfoTables with nested InfoTables is not supported at this time.
When building an InfoTable from an input array, use the Collection Selector field to specify the array to loop through when the action is executed. The resulting InfoTable structure will then have a corresponding row for each row in the input array. If you want to build an InfoTable with a single row, then leave the Collection Selector field blank.
In the above example, an InfoTable is to be constructed from the array of part information being returned from the previous Get Properties action. The Collection Selector field is mapped to the Parts array, and then each item from that Parts array is mapped to the fields in the InfoTable data shape.
* 
The asterisk (*) displayed in the InfoTable fields denotes that the InfoTable has multiple rows depending on the input array.
6. Click Done.
Dynamic Output Schema
The Define InfoTable action returns a dynamic output schema as shown in the figure that follows when you select the AlertDefinition data shape type.