Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-08-20 01:06 AM
Hi,
We have a action to run macro from BP in excel VBO, the objects waits for macro to complete. If there is any error in macro, it goes into recover. Now when macro runs for long time like 20-30 min, BP is waiting on that action stage, however it crashes the BP and in control room it shows disconnected. Please let us know why this happens and how the same can be fixed?
Ideally BP should be waiting on action stage and whenever macro completes should move to next stage.
------------------------------
Mayank Goyal
------------------------------
We have a action to run macro from BP in excel VBO, the objects waits for macro to complete. If there is any error in macro, it goes into recover. Now when macro runs for long time like 20-30 min, BP is waiting on that action stage, however it crashes the BP and in control room it shows disconnected. Please let us know why this happens and how the same can be fixed?
Ideally BP should be waiting on action stage and whenever macro completes should move to next stage.
------------------------------
Mayank Goyal
------------------------------
Answered! Go to Answer.
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-08-20 02:24 AM
Hi Mayank,
"Waring" message is expected behaviour. When it exceeded the timeout value, the message was shown in the control room. It is just a message for you which doesn't stop the process.
You can change the timeout value from 2 locations
I still believe just waiting for a long time (e.g., 20 minutes) is not ideal way to utilise a robot. In this case, Advanced workqueue guide (section7 Design example) may provide a better solution. If you are interested in, please check the document from the Blue Prism portal site (https://portal.blueprism.com/)
Cheers,
Nobu
------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------
"Waring" message is expected behaviour. When it exceeded the timeout value, the message was shown in the control room. It is just a message for you which doesn't stop the process.
You can change the timeout value from 2 locations
- System - Settings:
- Each Stage:
I still believe just waiting for a long time (e.g., 20 minutes) is not ideal way to utilise a robot. In this case, Advanced workqueue guide (section7 Design example) may provide a better solution. If you are interested in, please check the document from the Blue Prism portal site (https://portal.blueprism.com/)
Cheers,
Nobu
------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-20 05:25 AM
@ewilson - Any inputs on above issue with run macros with parallel thread ?
------------------------------
Mayank Goyal
------------------------------
------------------------------
Mayank Goyal
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-20 01:56 PM
@Mayank Goyal I've updated the VBO so the action is published. I also updated the guide to include that action in the list. Seems those were oversights. As for the error you're seeing, I'm wondering if that tied to the macro you're trying to execute? There is no Dictionary used in the code stages of this action or the regular Run Macro action that this references.
As a test, I created a blank Excel workbook and added the below macro to it. Then I execute it from the VBO and everything worked fine.
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
As a test, I created a blank Excel workbook and added the below macro to it. Then I execute it from the VBO and everything worked fine.
Public Declare Function GetTickCount Lib "kernel32.dll" () As Long
Sub WasteTime()
' All this macro will do is run through a loop and then display a dialog.
Dim NowTick As Long
Dim EndTick As Long
Dim Finish As Long
Finish = 10
EndTick = GetTickCount() + (Finish * 1000)
Do
NowTick = GetTickCount()
DoEvents
Loop Until NowTick >= EndTick
MsgBox "We are finished looping!"
End Sub
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 08:17 AM
@ewilson - Thanks for your response, just want to check if this Excel extended VBO includes all functionality from basic excel vbo as well and additional functionality on top of it?
------------------------------
Mayank Goyal
------------------------------
------------------------------
Mayank Goyal
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 11:12 AM
@Mayank Goyal that's correct.
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 08:34 PM
Hi Mayank,
If activity take 20-30 min that mean excel file is huge and you are processing lots of action with same data.
Please check or do below thing
i hope it will help you.
Thanks
Nilesh Jadhav.
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
If activity take 20-30 min that mean excel file is huge and you are processing lots of action with same data.
Please check or do below thing
- if there are formula used in the excel file.Please convert that into value so file size will get reduce.
- filter excel data and keep or take necessary data so your process will work fast.
- Check VBA code & remove unnecessary loops and variables declaration.
- Try to create and use function in VBA.
- try to divide your main action in to small action.
i hope it will help you.
Thanks
Nilesh Jadhav.
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Nilesh Jadhav.
Consultant
ADP,India
Consultant
ADP,India

- « Previous
-
- 1
- 2
- Next »