|
**Batch map fields using Automap**
|
Select **Automap** to automatically map your spreadsheet fields to displayed fields in the selected target table. Automap maps source entities to similarly named target entities. For a target entity that has already been mapped, selecting **Automap** doesn't change its value. An automapped field has a wand icon on its data pill.
|
|
**Map fields by dragging and dropping**
|
Map fields from your import to your target table by dragging data pills representing columns in the imported spreadsheet to the **Value** column in the target table. You can also map fields by using the pill picker to the right of each target table field.
|
|
**Map fields using the data picker**
|
Map data by using the pill picker \(\[Omitted image "pill-picker-green.png"\] Alt text: Pill picker.\) on the right side of the target table. You can enter more than one value in the **Value** column, you can also enter text.
|
|
**Add transform options**
|
Add transform options for each of the individual mapped spreadsheet fields by clicking the FX icon \( \[Omitted image "fx-icon.png"\] Alt text: FX icon.\) on the right side pane. For example, you can use the Uppercase transform function to change an input string to all uppercase characters. See [Transform functions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/transform-functions.md) for information on how to use these to trim data for your imported spreadsheet fields.
**Note:** Not all the transform functions available in Flow Designer are available.
|
|
**Activate data record matching**
|
Specify fields where the system should check for matching data and, if found, update existing records instead of creating new ones by enabling the **Match** toggle in your target table. For example, if a target table has an **Order number** field and a record with an order number of 743, there are two options for handling potential matches.
- If the **Match** toggle switch for the **Order number** field is on, the system checks for matching data. If the source data has a record with the same order number, the system updates the existing record in the target table.
- If the **Match** toggle switch for the **Order number** field is off, the system doesn't check for matching data. If the source data has a record with the same order number, the system creates a new record in the target table. In this case, the target table will have two records, both with an order number of 743.
|
|
**Configure reference and choice field behavior**
|
Configure behavior for **Choice** and **Reference** field types.1. Click the gear icon \(\[Omitted image "gear-icon.png"\] Alt text: Gear icon.\).
2. In **Field**, select the field column to match the incoming record value against in the target table.
3. In **If no matching record exists then do the following**, specify what to do if that record isn't found in the target table.
- **Create a new choice/record:** Creates the choice or record in the target table's matching field column from the data imported for the field.
- **Ignore this field:** Ignores the field in the target table and leaves it null.
- **Skip this record:** Skips adding the entire record \(row\) in the target table.
4. Click **Done**.
|
|
**Add new field columns to target table**
|
Add unmapped field columns from your import to your target table or create new fields in your target table. 1. Select **Add fields** above the target table on the right.
2. Choose which fields to add to your target table by selecting the checkbox on the left or select **All** to choose all of them.
3. You can also perform the following functions:
- Edit the **Field Label** for the imported field.
- Edit field properties for the imported field by selecting the **Edit icon** \(\[Omitted image "aes-add-field-edit-properties.png"\] Alt text: Edit target table field properties.\).
- Create a new field by clicking **Create a new field** in the top right corner of the window.
4. Select **Add fields** to add the selected fields to your target table.
|