cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Multiple Columns from Collection using Code stage

SufiyaS
Level 2
Hi All,

Can you please assist me with a code stage to delete multiple columns from a collection , the column names can be specified either as a comma separated strings or collection of columns.

Regards

------------------------------
Sufiya S
------------------------------
2 REPLIES 2

ChristianPanhan
Level 6
​Hi Sufiya,

a Blue Prism collection is just a DataTable in .NET.
Did you check the object-methods of a DataTable in Microsoft Docs?

Regards
Christian

Hello Sufiya, 

Another option is to use the action 'Split Collection' in the 'Utility- Collection Manipulation' VBO to split the collection in two: one with the column(s) you want and another one with the rest of the columns. This option will save you some code writing to implement a similar code stage. 

Hope this helps in your situation!


------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
------------------------------
Jorge Barajas Blue Prism Senior Product Consultant Austin, Texas