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.
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.
We have increase size using power shell as well SQL database,
Restart in IIS WorkflowMgmtPool and Workflow Management Site.
we followed below url to fix the issue but still issue the same:
http://www.c-sharpcorner.com/article/sharepoint-2013-how-to-increase-workflow-size-using-powersh/
https://sharepointsolutiontips.blogspot.in/2016/04/how-to-increase-workflow-size-using.html
https://sharepointsolutiontips.blogspot.in/2016/07/sharepoint-2013-total-size-of-activity.html
Please suggest what we need to fix this issue.
Thanks