cancel
Showing results for 
Search instead for 
Did you mean: 

Process not running from control room

Sree_Rama_Murth
Level 3
Hi Team,
We have a process running fine in studio.  But it failing to launch any application(SAP our case) when running from control room. please note all the previous steps before any application launch are executing perfectly.

Sometimes it running fine when running blue prism as run as administrator in their own remotes.
But unable to run the process in runtime resource from control room of  monitor remote. 

I confirm that issue is not related to timeout because we provided enough wait stages at various intervals.
Can someone help to resolve the issue.

Thank you in advance.

6 REPLIES 6

PvD_SE
Level 12
Hi S,

As you say previous steps in the process are executed correctly, but then it either stops or crashes, there should be a log. The log should point to a specific stage that either stops or crashes.
==>What action does the log say crashes/stops and is there any exception?

You do not state if running from Studio (that works fine) is from the same environment/computer as when running from ControlRoom (that does not work).
==>Are the Studio and ControlRoom environments the same computer, version and database?
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

Sree_Rama_Murth
Level 3
Thank you for the response @Paul JHM Van Doorn,

=> Previous steps (getting data from excel to collection) executed successfully but then the process terminated when it is trying to launch SAP application. The log shows as

ERROR: System Exception : An error occurred while launching SAP: Failed to perform step 1 in Navigate Stage 'SAP Launch' on page 'SAP Launch' - Failed to launch C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe

=>Yes, the studio and Control Room are having same environments, same computer, version and database.

Issue is : Failing to launch SAP application when running from control room and while all other steps are working fine(which does not have launch of any application). Please see the attached log snip for reference,

​​

PvD_SE
Level 12
Hi S,

It sounds more and more that the Launch of SAP has too short waiting time when you run from ControlRoom. What does the launch look like in your object?
An other alternative is that the 'C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe' cannot be found. Do you use the same user-id when running from ControlRoom?
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

Sree_Rama_Murth
Level 3
Hi Paul,

We have provided enough waiting time for SAP Launch.
We are using same user id for running process in studio and control room. Checked, I am able to access the SAP.exe file and for studio as well for process running.

PvD_SE
Level 12
Hi again, 

Do you have the possibility to turn on logging within the SAP object to see what stage in there is causing the problem?
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

PvD_SE
Level 12
...come to think of it, is the SAP thing some sort of emulator or more kind of a web gui?
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)