Excel VBO - Write Collection action crashes with large volumes of data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-04-18 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-04-18 01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-04-18 05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-04-18 05:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-04-18 11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-10-20 08:05 AM
Thanks
------------------------------
Ben Lyons
Automation Specialist
Allianz
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-10-20 10:16 AM
There is some minor things you need to take into account. For example when your text value starts with =, you need to escape it or you get error.
Here is my action for writing collection as array (select it all, copy and paste into Excel VBO as Action, it should work):
https://raw.githubusercontent.com/aikudinov/BlueprismVBO/master/Excel%20actions/Write%20Collection%20Direct.txt
It is missing in/out collection "Collection_GC", because I made it global and clean it up manually when memory is an issue or when process ends, but you can just create in on that action page - next thing you end up is blueprism getting OOM on large collections. It does batching too - helps to lower rowlimit sometimes when you get OOM, but makes things somewhat slower.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-10-20 03:08 PM
I'm writing about 50,000 rows and 20 columns. Previously it's taken less than an hour, but now the Excel VBO action's not working for me. So I wanted to try something else, like this.
I'd love to get it running via OLEDB, but my SQL is weak. Just fees like there should be a way of doing it with out going 1 row/cell at a time.
------------------------------
Ben Lyons
Automation Specialist
Allianz
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-10-20 03:57 PM
You created Collection_GC inside that vbo action, right?
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-10-20 01:09 PM
Ah, I thought it was a total row limit, I clearly read the code wrong.
Thanks, it works really well, perhaps something worth adding to the DX?
------------------------------
Ben Lyons
Automation Specialist
Allianz
Europe/London
------------------------------
