Why UiPath Attended Bot (latest Community Edition) does not resume after action completed in Orchestrator? - persistence

I created a small demo project with 4 activities on focused on persistence and Action Center (see YouTube example https://www.youtube.com/watch?v=xJcpLTXHUWE). I have implemented UiPath Persistence Activities library required for this project. The project runs properly when executed from UiPath Studio. I published the package to the Orchestrator. When running from UiPath Assistant the project initiates correctly. I can see the job start and suspend in Orchestrator. After the action is completed in Action Center, the process appears to hang. The Jobs tab in Orchestrator displays Resumed but does not display any Hostname or HostIdentity. When I get into the log it still says suspended (ie. not resumed). The only way to stop the hung process is to Stop or Kill it.
I'm on Community Edition and using Studio 21.10.5.UiPath Assistant is properly connected to Orchestrator (green). I'm guessing the issue is a bug in UiPath Assistant where the Persistence package implemented for this solution is not working. Does anyone have an idea what is going on and how to resolve the issue?
I'm hoping I will have better luck on this forum that on the UiPath Forum.

Related

What is the name of the Microsoft UI Automation API tester tool that Microsoft made?

Windows has a UI Automation API, and there is a small tool written by Microsoft that allows one to test and verify that a UI automation server implementation is working correctly. Its UI resembles Regedit. I've forgotten the name of the tool. What is the tool called, and where can I get it?

UiPath Error : Desktop has been disconnected while performing UI actions

I am using UiPath to automate some of our manual task done through website. But for some reason i get the below error. This happens when i click the link and new page gets loaded. In the new web page i try to click a button and the below error shows up.
Kindly note that i am not using RDP for automation.
"Desktop has been disconnected while performing UI actions"
19:03:56.3586 Error {"message":"Click 'INPUT btnReset' : Desktop has
been disconnected while performing UI
actions.","level":"Error","timeStamp":"2017-05-05T19:03:56.3586114+05:30","windowsIdentity":"ENT\VS","processName":"TestProject","processVersion":"2017.1.6334.30035","fileName":"Seq_OptionsAtOpenCustomer","jobId":"0fd0eaaf-e7be-4ec6-83b6-09a3c2a29d96","robotName":"ENT\VS"}
I got the same error message a few days ago while I was not using RDP, with a bit research it was resolved by reverting back to an older version of the software - currently there's a bug with the latest version (2017.1.6309).
Regarding UiPath's technical support on their website, it was suggested to use 2016.2 version for now while the bug fix has not been released.
Hope that helps.

Cannot debug project after upgrading to Service Fabric SDK v2.3.301

Recently upgraded to Service Fabric SDK v2.3.301, but for some reason my project got corrupted. I cannot debug the project, I get the following error: "A project with an Output Type of Class Library cannot be started."
It seems that the solution now fails to recognize the Service Fabric App. Yet I am able to deploy to my local cluster.
Anyone had similar issues while upgrading to the new SDK?
Thanks
PS Just in case, the service fabric app is the already set as startup project :o)
We have been using Service Fabric to develop a product for about a year with various versions of the SDK and I see this frequently. It happens both when hitting F5 with the SF Application as the sole startup project and even when right-clicking the SF Application and choosing "Debug -> Start New Instance".
Sometimes I have to try several times before it finally works. Other developers in our team see this as well, going all the way back to v2.0.
One thing that seems to make it happen less frequently is not touching anything on your computer after launching the project. Don't click anything else. Don't select another window. Let go of the mouse. Don't touch the keyboard.
Something I've started doing on the advice of a colleague is choosing "Debug -> Start Without Debugging", then attaching to the process if I want to debug it. I've had better luck with this approach in general - including not getting the "A project with an Output Type of Class Library cannot be started" issue.
I hope that helps.
I have had the same issue a couple of times. I have not been able to identify the source. But I have solved it with the following actions:
Close all Visual Studio windows.
Restart the Service Fabric service: Type services.msc in the windows run tool. Find Microsoft Service Fabric Host Service. Right Click + Restart.
Reset the local cluster: Look at the Service Fabric Local Cluster Manager Icon in the notification area in the right side of the task bar. Right Click + Reset Local Cluster.
Open the problematic solution in Visual Studio.
Clean and Rebuild solution.
Finally run your solution (press F5).
Hope this helps.
The error indicates that the service fabric application project (*.sfproj) is not set as start up project. Please try to change the start up project as some other project and again change it back to service fabric application project and see if that resolves the issue.

How to start and stop a web application and database in VSO with vNext tasks

I've setup Continuous Integration in my project hosted at Visual Studio Online.
Among other things, I deploy my web application to a test slot and test database and I run integration tests.
However, I don't need the test slot and database to be running all the time. I would like to start them both for the integration tests to run and stop them after my integration tests are done, all automated.
I played around with the Azure PowerShell vNext task, but I couldn't figure out how to accomplish this. Any help would be appreciated. More than the actual answer, I would appreciate a link with more information, if possible.
For the web app slot, you can add AzurePowerShell step in your build defition can create two power-shell script: one start the website via Start-AzureWebsite command before the build start and another one stop the website via Stop-AzureWebsite after the testing is finished.
For the database, you cannot stop it. Refer to this question for details: How do I stop and start a SQL Azure database?

Why am getting deadlock upon trying to run a Java AppEngine application?

I made an application Guestbook to learn Google App Engine with Java. However, when I try to run it as a web application, Eclipse stalls on building the application because it is apparently waiting for the workspace to build.
I tried canceling the building of the workspace by clicking on the red box to the right to no avail. I have also tried canceling the entire run and re-running, which produced the same scenario.
Why can't I run the web application?