Dear all, I was trying out the exercise on UiPath academy on the AI/ML Movie Review practice. I started from scratch and followed the solution step by step, and copied the solution step by step. Everything was working fine until one of the last part “Task for Human Validation” where I get the following error:
RemoteException wrapping System.Activities.ValidationException: An extension of type ‘UiPath.Activities.Contracts.Persistence.IPersistenceBookmarks’ must be configured in order to run this workflow.
at System.Activities.Hosting.WorkflowInstanceExtensionCollection…ctor(Activity workflowDefinition, WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstanceExtensionManager.CreateInstanceExtensions(Activity workflowDefinition, 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.d__89.MoveNext()
If I disable the “Wait for Form Task and Resume”, it works. I check back and forth and couldn’t find any difference between my built from scratch version and that of the one downloaded from UiPath Academy (which works when running from the same machine).
I’ve managed to solve it a moment after posting in the forum.
For those who are interested in the solution, click on the “Wait for Form Task and Resume” and select “Project Settings”. Under the “General” tab on the left, choose “yes” for “Starts in background” and “Supports Persistence”
I’m almost done with this part of the practice, just a little more on the form design to go.
I too get this error when i’m working on action center but its a simple mistake after enabling it my error will be gone. its simple mistake. sharing my thoughts here…
You will have to create a orchestration process and Add “Wait for Form Task” activity in the main.xaml. This activity cannot be under any other workflow apart from Main Workflow.
This how I solved.
This is the case with Long Running or Orchestration processes. The Wait for Resume activities should be in the Main workflow.
Check the Documentation below :
For better help, we would want to understand what is the Process Steps in brief and where is the intended use of Persistence or Action Center activities.
Hi @supermanPunch
I am also getting same error
I checked everything I have enabled support persistence and wait form task and resume is outside any workflow and is in main workflow.
But than also I am getting the error.
How to solve this issue?