cancel
Showing results for 
Search instead for 
Did you mean: 

AMI error occured in wait stage

SharayuDeshmukh
Level 2
Hi, I am receiving error message that says- AMI error occurred in WaitStart Stage. Does anyone know what it means?  
8 REPLIES 8

IshaSingh
Level 4
There must be an associated error with the AMI error, when it occurs. Could you give us the full exception?

Maria_CarinessR
Level 2
I got the same error which says ""Internal : AMI error occurred in WaitStart Stage 'Wait2' on page 'N - Validate Screen: Agent Search' - Not Connected."" I am not sure as to why the WaitStart stage would ""not be connected"" as the bot was able to process other work items and did not throw this error when it passed that same action/stage. Appreciate your response on this.

John__Carter
Staff
Staff
'Not connect' means the object is not attached to the application, either because the object was never attached in the first place, or maybe the application has been restarted. If you have mistakenly used an Action stage in an object to call itself, eg object A calling object A, then you're actually creating a second instance in memory and that that second instance will not be attached.

Ravindersaini
Level 7
As John said rightly that the object is not attached to Application modeller. We can create a page 'Attach' where we can check if the object is connected or not and take appropriate actions accordingly i.e. attach again. Its better if we call this page in our actions. Regards, Ravinder Saini

Hi Ravinder, could you tell me how to attach any application in blue prism ? I meant how to check if suppose notepad is attached to blue prism and if not what steps or actions to use to do the same ?

------------------------------
Manjit Singh
------------------------------

Hi Manjit,

In order to check the attach status for any application you can use a 'Read' stage with the root element of the application tree and the action as 'Is Connected' which will store the status as True or False in any data item you specify, then you can proceed ahead and check the status. If the status is True, end the action otherwise try to attach the application using a 'Navigate' stage as shown below:

19553.png

In my case I have used two page references for attaching and launching the application which consist of the respective 'Navigate' stages only.

19554.png
19555.png
Let us know if this helps out to clear your doubts

------------------------------
----------------------------------

Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

Just one query, how to check for the attach status in the 'check connection status' ? How to get the Yes/No condition while checking the connection status ? I have just started learning hence getting stuck in these things.

------------------------------
Manjit Singh
------------------------------

Hi Manjit,

Please refer the first screenshot, I have show there that I used a read stage and then in that read stage I used the element as the root application node with the action as 'Is Connected' and have stored the value in a data item called 'Is Connected'. That stage will itself return me the value as True or False for the attach status which I am checking in the decision stage with the expression : "[Is Connected] = True". For more details on this, I would advise you to go through the following LMS as well: Business Object Design


19559.png

------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily

Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.