Adding Row to a particular position

robarik

New Member
Hi Team,

I want to add a row at a particular position of an existing collection with data. how to do it?

e.g: I want to add a row to 1st, 11th, 21st... position.
 

Sachin_Kharmale

Active Member
Hi Robrik,

Yes we can insert row on specific position in collection with the help of blue prism code stage.
put row that you want to insert in collection and specify position to insert row.
use code stage and while inserting data in collection(Data Table) use bellow method to insert row at specific position.

Collection.Rows.InsertAt(row,1);


I hope it will help you..!

 

robarik

New Member
Hi Sachin,

Thanks for your reply. As per my project standards we are allowed to use any internal vbo like MS Excel, Collection Manuapulation in sub processes. In process studio code stage is not available so we can't implement this logic. Is there any vbo available in blueprism which can perform this action?

Thanks,
Rohit
 

Sachin_Kharmale

Active Member
Hi Robarik,

I think there is no blue prism standard VBO action available to add row at specific position.
if you want add row at specified position then
you need to extend the blue prism collection VBO and need to add your custom action to add row on specified position.
I Hope it will help you.!
 
Top