Sharepoint 2013 The total size of the activity XAML is greater than the maximum allowed size of 51200 KB

Sharepoint 2013 activity XAML
InfoPath alternatives for form designing SharePoint

The Default Size of the SharePoint 2013 workflow is 5 MB which is quite enough until you are writing very complex or multi-level approval workflow.

Sharepoint 2013 activity XAML
Sharepoint 2013 activity XAML

Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:

The total size of the activity XAML including the referenced XAML is greater than the maximum allowed size of 51200 KB.

Also read:
– How to create a Microsoft Azure Active Directory?

– How to create a Linux virtual machine in Windows Azure Portal?

– Deploy SQL Server 2016 on the Azure Portal Using Windows server 2012

Solutions:
– Open Microsoft SQL Management which is belongs to SharePoint

– Open the database and choose WFResourceManagementDB table dbo.WorkflowServiceConfig

Sharepoint 2013 activity XAML 1
Sharepoint 2013 activity XAML 1

– Push the right button and choose «Edit Top 200 Roww

– Change the setting WorkflowServiceMaxWorkflowXamlSizeInBytes to 104857600

Sharepoint 2013 activity XAML 2
Sharepoint 2013 activity XAML 2

Make a restart in IIS WorkflowMgmtPool and Workflow Management Site

Hope this will help some one

Similar SharePoint 2013 Tutorials


Leave a Reply