Question

2
Replies
38
Views
Close popover
Pushkar Srivastava (PushkarS)
Infosys Ltd

Infosys Ltd
GB
PushkarS Member since 2017 2 posts
Infosys Ltd
Posted: February 24, 2021
Last activity: February 24, 2021

Error - Process Start Failure for unattendend Robot

Hi,

For Unattended robots, when adapter fails to start within given timeframe, Process Start Failure message shows which require manual intervention. 

I had decompile the OpenSpan.Adapters.Windows dll, i found below method as culprit: 

 

protected bool ShowStartTimeoutDialog(string name)

        {

          DialogResult dialogResult;

            try

            {

                dialogResult = ((Target)this).get_NotificationService().ShowMessage($"The process {name} failed to start within the given timeframe. Continue waiting?", "Process Start Failure", MessageBoxButtons.YesNo, DialogResult.No);

            }

            catch (NullReferenceException)

            {

                Diagnostic.TraceWarning(TraceCategory.ADAPTERS, "WindowsProcess.ShowStartTimeoutDialog: NotificationService is null - Designer may have been closed while waiting for a process to start.");

                throw new ProcessStartTimeoutException($"The process {name} failed to start within the given timeframe.");

            }

            if (dialogResult == DialogResult.No)

            {

                throw new ProcessStartTimeoutException($"The process {name} failed to start within the given timeframe.");

            }

            return true;

        }

 

I have tried to turned off all Diagnostic for runtime as well as studio, but no luck.

Either I have to modify dll code (Which is not possible at this time) OR I have to set notification service turned OFF (which either I'm not able to)

Can someone help me to get rid of this?

 

Pega Robotic Process Automation Robotic Process Automation Financial Services Robotics System Architect