Error: Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile'

After upgrading Studio from version 2018.2 to 2018.3.3, we are unable to run the process from the Orchestrator. We are however, able to run the process atttended. We already tried to upgrade all packages. For your convenience, please find the full error from the Orchestrator below. Please advise on this issue.

Info: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile’.

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile’.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory1.Evaluate() at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow() in D:\a\1\s\Robot\UiPath.Executor\RobotRunner.cs:line 303

HI @MvOijen

Did you try this
in invoke WorkFolwFile give the Full Path

Example: D:\ Test.xaml instead of Test.xaml
delete project.json file and publish again

i am not sure this is issue. but try it once

Regards
Amaresan

@loginerror -Same issue in different categories. Can you please merge these posts - Error: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile’

Hi @MvOijen,

Please clean your Nuget Feed and also check out the 2018.3 Troubleshooting guide

Hope this helps you!

Regards,
PD

After upgrading Studio from version 2018.2 to 2018.3.3, we are unable to run the process from the Orchestrator. We are however, able to run the process atttended. We already tried to upgrade all packages. For your convenience, please find the full error from the Orchestrator below. Please advise on this issue.

Info: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile’.

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}InvokeWorkflowFile’.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory 1.Evaluate() at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList 1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack 1& activitiesRemaining, ActivityCallStack parentChain, IList 1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList 1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList 1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow() in D:\a\1\s\Robot\UiPath.Executor\RobotRunner.cs:line 303

Hi @MvOijen,

Please clean your Nuget Feed and also check out the 2018.3 Troubleshooting guide

Hope this helps you!

Regards,
PD

.

1 Like

Hi
I was also facing the same issue and it got resolved by adding “uipath.credentails.activities” through Manage Packages tab.

2 Likes

https://forum.uipath.com/t/cannot-create-unknown-type-http-schemas-uipath-com-workflow-activities-invokeworkflowfile-solution-steps/117213

Thank you, it helped a lot.

Thankyou!!! PROBLEM SOLVED!!