cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Multiple Columns from Collection using Code stage

SHaikh
Level 3
1 REPLY 1

KaranSareen
Staff
Staff
Hello Shaikh

You can remove the columns from the collection following the below steps

1. Declare a datatable in the code stage
DataTable t;
2. Copy the input collection into that datatable.
3. Remove the column using the following snippet:
t.Columns.Remove("columnName1");
 t.Columns.Remove("columnName2");
4. Now, assign the datatable to the output collection.


------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
------------------------------