Annot create unknown type '{http://schemas.uipath.com/workflow/activities}ShouldStop

Hello,

I am beginner on UIPath :frowning:
My package works well, on UIPath Studio Community 2022.4.3,
But when I deployed package to orchestrator with : 2021.10.3, it doesn’t work :frowning:

I have the following error :

>    Process: MyProcess
>     Environment:
>     Robot: rob58.unattended-unattended
>     Account: rob58.unattended
>     Machine name: PP-RPA-ROB58
>     Info: Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}ShouldStop'.
> ```
> 
>     RemoteException wrapping System.Xaml.XamlObjectWriterException: Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}ShouldStop'.
>     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.WorkflowInspectionServices.d__3.MoveNext()
>     at System.Linq.Enumerable.d__17`2.MoveNext()
>     at System.Linq.Enumerable.d__59`1.MoveNext()
>     at System.Linq.Enumerable.d__17`2.MoveNext()
>     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
>     at System.Linq.Enumerable.d__64`1.MoveNext()
>     at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
>     at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
>     at UiPath.Executor.Tracking.TrackingHelpers.GetVariableNames(Activity activity)
>     at UiPath.Executor.Tracking.LoggingTrackingParticipant.RegisterWorkflow(WorkflowInfo workflowInfo)
>     at UiPath.Executor.Tracking.WorkflowTracking.RegisterWorkflowTracking(WorkflowInfo workflowInfo)
>     at UiPath.Executor.WorkflowRuntime.RegisterWorkflow(WorkflowInfo workflowInfo)
>     at UiPath.Executor.RobotRunner.InitWorkflowApplication()
>     at UiPath.Executor.RobotRunner.d__88.MoveNext()
>     Start Time: 06/08/2022 2:23:33 PM
>     End Time: 06/08/2022 2:23:49 PM
>     Input Values: null
>     Output Values: null
>     Has Recording: false



Can you help to correct this problem ?

Advance Thanks,

Try to use lower version packages while publishing from 2021 version studio

1 Like

Thanks you a lot @Mr.StarLord_AO for your answer.
1) What package did I need to downgrade ?
2) Unfortunately I don’t have 2021 version of UIPath, I don’t have enterprise edition :cry:

Like system.activities

1 Like

If I downgrade system.activities, the code doen’t work, I need after to downgrade other package (I don’t know how many) :frowning:

I finally import once by once all missed library on the orchestrator, and it’s works !

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.