Skip To Content

Create, update, and delete records

A record is a set of related attribute values in a database for a single geographic feature. For example, in an address database, the street, city, country, and postal code may compose one address record.

When creating a flow with these actions, you must have feature layer editing permissions for the layer stored in your ArcGIS account. If you do not have the appropriate permissions, you can't save or run the flow.

Available connectors

  • ArcGIS Online (ArcGIS)
  • ArcGIS Enterprise

Create a record in a feature layer

This action adds a new record to a feature layer. For more information, see the Esri Developer documentation on adding features to a layer.

Parameters

NameKeyRequiredTypeDescription

Layers in

contentFilter

Yes

string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer

userLayer

Yes

string

Select a feature layer from your ArcGIS content.

Additional parameter

This parameter appears when a layer is provided for the Feature layer parameter.

NameKeyRequiredTypeDescription

Geometry

geometry

Yes

string

Enter the geometry object for the record, For example, this could be the output from the Find address candidates action, a JSON point, multipoint, polyline, or polygon.

Update a record in a feature layer

This action updates an existing record in a feature layer. For more information, see the Esri Developer documentation on updating features.

Parameters

NameKeyRequiredTypeDescription

Layers in

contentFilter

Yes

string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer

userLayer

Yes

string

Select a feature layer from your ArcGIS content.

Unique ID field

idField

Yes

string

Select a unique ID field in the feature layer.

Additional parameters

These parameters appear when a layer is provided for the Feature layer parameter and an ID field is provided for the Unique ID field parameter.

NameKeyRequiredTypeDescription

Geometry

geometry

Yes

string

Enter the geometry object for the record, For example, this could be the output from the Find address candidates action, a JSON point, multipoint, polyline, or polygon.

Dynamic

data

Yes

dynamic

This parameter will be named after the input in the Unique ID field parameter. Enter the value for the desired record in that column.

Delete a record in a feature layer

This action deletes one or more records from a feature layer using IDs. For more information, see the Esri Developer documentation on deleting features.

Parameters

NameKeyRequiredTypeDescription

Layers in

contentFilter

Yes

string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer

userLayer

Yes

string

Select a feature layer from your ArcGIS content.

Unique ID field

idField

Yes

string

Select a unique ID field in the feature layer.

Additional parameter

This parameter appears when Advanced parameters is expanded.

NameKeyRequiredTypeDescription

Delete records

deletedIds

Yes

array of string

A list or single value of IDs used to identify the deleted items. The IDs provided must match the IDs used in the feature layer. Multiple IDs can be added and separated by a comma.

Add records to a feature layer (batch)

This action adds multiple new records to a feature layer at once. For more information, see the Esri Developer documentation on adding features to a layer.

Parameters

NameKeyRequiredTypeDescription

Layers in

contentFilter

Yes

string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer

userLayer

Yes

string

Select a feature layer from your ArcGIS content.

Additional parameter

This parameter appears when a layer is provided for the Feature layer parameter.

NameKeyRequiredTypeDescription

Features

data

Yes

array of string

Enter an array of features to be updated.

Update records in a feature layer (batch)

This action updates multiple existing records in a feature layer. For more information, see the Esri Developer documentation on updating features.

Parameters

NameKeyRequiredTypeDescription

Layers in

contentFilter

Yes

string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer

userLayer

Yes

string

Select a feature layer from your ArcGIS content.

Unique ID

idField

Yes

string

Select a unique ID field in the feature layer.

Additional parameter

This parameter appears when a layer is provided for the Feature layer parameter and an ID field is provided for the Unique ID field parameter.

NameKeyRequiredTypeDescription

Features

data

Yes

array of string

Enter an array of features to be updated.