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.
– Get column display name and internal name using SharePoint object model
– Configure On Premise environment for Apps in SharePoint 2016
– How to disable mobile page redirection for SharePoint 2013?
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 History list. I donot 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 browser these two lists in the target site, I got file not found 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.
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.