cancel
Showing results for 
Search instead for 
Did you mean: 

Bot freezes when SAP freeze

RicardoCabrera
Level 3
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
------------------------------
7 REPLIES 7

ChenglungTsai1
Level 5
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
------------------------------

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
------------------------------

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
------------------------------

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
------------------------------

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
------------------------------

Hi Ricardo,

Is this the issue has been resolved using this solution?

------------------------------
venkatraman kaliyaperumal
RPA Specialist
Osram
Asia/Kolkata
------------------------------

Thanks for sharing this tip @ChenglungTsai1 :)​

------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------