Recently while trying to deploy a workflow from one site collection to another site collection in my office 365 SharePoint online site collection I got the below error. The error comes when I tried to activate the feature. The error comes like below:
Microsoft.Workflow.Client.ActivityNotFoundException: The activity named ‘WorkflowXaml_GUID’ from scope ‘/spo/248fadea-e82b-4d15-bf03-d00b7947ca36/a6b8142a-8120-4823-a855-f400460ec143’ was not found. HTTP headers received from the server – ActivityId: GUID. NodeId: Scope: Client ActivityId : GUID. —-> System.New.WebException: The remote server returned an error.
The workflow which I was trying to deploy is a very simple workflow having only a Log to history action which is trying to write some information to the Log to the History list. I don’t have any other dependent component.
But the workflow was using Log to History and MyTask list (which we have given while developing the SharePoint 2013 designer workflow).
When I try to browse these two lists in the target site, I got the file not found an error. So I created a sample workflow in the targeted site which internally creates Workflow History and MyTask list.
Then I redeploy the whole thing and it worked fine.
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: