Bot freezes when SAP freeze
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-19 04:27 PM
Hello
Not sure if this goes in this community but hopefully someone has experienced this issue.
I've been running a BP process for almost two years now, and recently it started to fail, the bot goes into SAP and opens a transaction, it enters some header parameters and then when it tries to go to the next step, SAP sometimes freezes in the middle of that action, the bot has a couple of wait stages before throwing an exception, the issue is that once SAP has froze, the bot also freeze and it looks like it is always in the second wait stage, why does the bot freeze instead of throwing the exception after the 10 second wait has timed out?
BR
------------------------------
Ricardo Cabrera
Application Developer
Ericsson
America/Mexico_City
------------------------------
Not sure if this goes in this community but hopefully someone has experienced this issue.
I've been running a BP process for almost two years now, and recently it started to fail, the bot goes into SAP and opens a transaction, it enters some header parameters and then when it tries to go to the next step, SAP sometimes freezes in the middle of that action, the bot has a couple of wait stages before throwing an exception, the issue is that once SAP has froze, the bot also freeze and it looks like it is always in the second wait stage, why does the bot freeze instead of throwing the exception after the 10 second wait has timed out?
BR
------------------------------
Ricardo Cabrera
Application Developer
Ericsson
America/Mexico_City
------------------------------
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-10-19 04:53 AM
Maybe you can try the external run mode to solve this issue.
Open the Application Modeller and select the root node and you will find the drop down list called "Select the Application Manager mode" in the bottom corner.
To choose external mode will let Blue Prism bot run as a external process not automate.exe itself.
(You can open your task manager to check this. When you using external mode and run it, you will find that a new process call appman.exe is created.)
By this way, if the application which you want to manipulate get freeze, it will not cause blue prism freeze and after the timeout blue prism will throw the exception.
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
Open the Application Modeller and select the root node and you will find the drop down list called "Select the Application Manager mode" in the bottom corner.
To choose external mode will let Blue Prism bot run as a external process not automate.exe itself.
(You can open your task manager to check this. When you using external mode and run it, you will find that a new process call appman.exe is created.)
By this way, if the application which you want to manipulate get freeze, it will not cause blue prism freeze and after the timeout blue prism will throw the exception.
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-10-19 08:20 AM
Definitely have to test this out! Have you solved application not responding issues with this solution and how did you figure out this solution?
Big thanks for sharing!
/Joakim
------------------------------
Joakim Eklund
Senior RPA Developer
Swedbank AB
Europe/Stockholm
------------------------------
Big thanks for sharing!
/Joakim
------------------------------
Joakim Eklund
Senior RPA Developer
Swedbank AB
Europe/Stockholm
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-10-19 09:09 AM
Sure I tried this solution on the WPF application.
When I work with the drop down list by using navigate stage(select item action), I don't know why this application will be freezed and cause Blue Prism hang on the navigate stage. It couldn't go to next stage smoothly. (The default timeout is 5 mins I guess.)
So I set this external mode and changed the timeout time to 10 seconds. By this way blue prism(appman.exe) can throw the exception out if the application didn't give the control back to blue prism.
I think you can use this solution to solve your SAP issue. 🙂
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
When I work with the drop down list by using navigate stage(select item action), I don't know why this application will be freezed and cause Blue Prism hang on the navigate stage. It couldn't go to next stage smoothly. (The default timeout is 5 mins I guess.)
So I set this external mode and changed the timeout time to 10 seconds. By this way blue prism(appman.exe) can throw the exception out if the application didn't give the control back to blue prism.
I think you can use this solution to solve your SAP issue. 🙂
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-10-19 10:07 PM
awesome, thank you very much for your suggestion, I'll try this asap because this issue is really driving me nuts, the bot freezes at least twice a day
------------------------------
Ricardo Cabrera
Application Developer
Ericsson
America/Mexico_City
------------------------------
------------------------------
Ricardo Cabrera
Application Developer
Ericsson
America/Mexico_City
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-10-19 03:00 AM
Cool, hope this approach can help you solve this issue.
But you mentioned that freezes happen at least twice a day, I suggest you just contact with BP support team is better.
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
But you mentioned that freezes happen at least twice a day, I suggest you just contact with BP support team is better.
------------------------------
Chenglung Tsai
Consultant
Avanade
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-10-21 10:11 AM
Hi Ricardo,
Is this the issue has been resolved using this solution?
------------------------------
venkatraman kaliyaperumal
RPA Specialist
Osram
Asia/Kolkata
------------------------------
Is this the issue has been resolved using this solution?
------------------------------
venkatraman kaliyaperumal
RPA Specialist
Osram
Asia/Kolkata
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-10-21 08:59 PM
Thanks for sharing this tip @ChenglungTsai1 :)
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------
