Friday, October 16, 2020

The project has Workflow Analyzer errors and cannot be published. Check global publishing settings allowed by your team uipath

 The project has Workflow Analyzer errors and cannot be published. Check global publishing settings allowed by your team uipath

When we have get above shown issue while publishing the packages through uipath studio, If you select the Error tab , we can get the list of error which is failing in the code so we need need to resolve the item all the errors

We can able to publish by Disabling the "Enforce Analyzer before publish" in the uipath settings.


And, In many companies this might be controlled by Group Polices.

Note: Good approach  is, we must solve each of the "Error and Warnings" by changing code as per the code standard.


Monday, October 5, 2020

Cannot create unknown type - ” http://schemas.uipath.com/workflow/activities"

Cannot create unknown type - ” http://schemas.uipath.com/workflow/activities"


 Normally as a RPA Developer or Support people we might face the schema issue upon migration from Previous version to New Version. Once we published the process into the VM machine and Run the process we might get the following error Cannot create unknown type - ” http://schemas.uipath.com/workflow/activities"


Solution :-

To avoid this error we need to open our process in the studio and check the dependencies with version.

Cannot create unknown type

 As per the above image, we can see no of dependencies, Like uiPath.Excel.Activities = 2.9.2 , UiPath.mail.Activities=1.9.2, uipath.System.Activities=20.10.0 and UiPath.Automation.Activites =20.10.0 .

We need to check, whether same version of dependencies are available in VM Machine from the Following path - "C:\Users\"UserName or Service account name"\.nuget\packages"



Cannot create unknown type


If its not available we need to copy from the studio machine and paste it in the VM machine, like wise we need to check for all the dependencies.
Last Important step
 once it done we need to copy and paste all the version or Very Latest version which is available in the studio machine from the following path" C:\Users\"UserName or Service account name"\.nuget\packages\uipath



Please contact me if you have doubt

Thank you 





Error detecting project version in Uipath

  If you get the "Error detecting project version error" in UIpath studio installed machine or UiPath Robot installed machine, Kindly follow the below steps to resolve.


Reason of the issue:- 

1. Publishing uipath studio version and Uipath Robot version might be different.

- Open the project.Json file of the project from the project folder and open Project.Json file from the old project folder or previous published folder.

- From the new Project.json file.



- From the Old Project.Json file

Copy the particular script from the old project.json file and replace in the new project.json file. if you publish again from the new version of the studio it will again replace with new project version details in the project.json file. so we should not publish from the Studio. I would recommend new way to create the nupkg packages(Without using Studio). please see below.

- Open cmd prompt enter CD "C:\Program file(86)\UiPath\studio"
 "UiRobot -pack "xxxxx\project folder\Project.Json" -o "xxxxx\Output folder name" -v 1111.1111.1111"

The project has Workflow Analyzer errors and cannot be published. Check global publishing settings allowed by your team uipath

 The project has Workflow Analyzer errors and cannot be published. Check global publishing settings allowed by your team uipath When we have...