UiPath Documentation
activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Mar 26, 2026

FilterDataTable

Filters a DataTable by specifying conditions in the Filter widget. The activity can keep or delete rows according to the logical conditions that are specified in the properties.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads

FilterDataTable(DataTable, List<FilterOperationArgument>)Filters a DataTable by specifying conditions in the Filter widget. The method can keep or delete rows according to the logical conditions that are specified in the properties.
FilterDataTable(DataTable, List<FilterOperationArgument>, DataRow)Filters a DataTable by specifying conditions in the Filter widget. The method can keep or delete rows according to the logical conditions that are specified in the properties, along with other configurations.
FilterDataTable(DataTable, List<FilterOperationArgument>, SelectMode, DataRow)Filters a DataTable by specifying conditions in the Filter widget. The method can keep or delete rows according to the logical conditions that are specified in the properties, along with other configurations.

FilterDataTable(DataTable, List<FilterOperationArgument>)

Filters a DataTable by specifying conditions in the Filter widget. The activity can keep or delete rows according to the logical conditions that are specified in the properties.

DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters
)
DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters
)

dataTable DataTable : The DataTable variable that you want to filter.

filters List FilterOperationArgument : The conditions used to filter the data table by.

FilterDataTable(DataTable, List<FilterOperationArgument>, DataRow)

Filters a DataTable by specifying conditions in the Filter widget. The activity can keep or delete rows according to the logical conditions that are specified in the properties, along with other configurations.

DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters,
    out DataRow outputFirstRow
)
DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters,
    out DataRow outputFirstRow
)

dataTable DataTable : The DataTable variable that you want to filter.

filters List FilterOperationArgument : The conditions used to filter the data table by.

outputFirstRow DataRow : The first row of the data table that matches the configured filters.

FilterDataTable(DataTable, List<FilterOperationArgument>, SelectMode, DataRow)

Filters a DataTable by specifying conditions in the Filter widget. The activity can keep or delete rows according to the logical conditions that are specified in the properties, along with other configurations.

DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters,
    SelectMode filterRowsMode,
    out DataRow outputFirstRow
)
DataTable FilterDataTable(
    DataTable dataTable,
    List<FilterOperationArgument> filters,
    SelectMode filterRowsMode,
    out DataRow outputFirstRow
)

dataTable DataTable : The DataTable variable that you want to filter.

filters List FilterOperationArgument : The conditions used to filter the data table by.

filterRowsMode SelectMode : Specifies whether to filter the table by keeping or removing the target rows. Choose one of the two options: Keep or Remove.

outputFirstRow DataRow : The first row of the data table that matches the configured filters.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated