We have created a SharePoint 2010 Document Approval workflows ( Reusable) in SharePoint 2013 site . To deploy it to test / staging / prod environment , we are saving it as Template and creating WSP . It has a custom Task form and another InfoPath form to select users from approvers group using people picker. When we use this WSP workflow in Target environment , it some times fails to start ( internal server error) and sometimes it starts but is unable to create a Task . No permission issues . if we open deployed workflow in designer it , shows <code>.returnvalue for variable values and if we try to update variables values ( i.e. Currenttask>Assigned To> etc , they are missing .
We migrated the same workflow using Sharegate and it worked without any issue.
Are there any known issues with WSP deployment of sharepoint designer reusable workflows ?
Is Sharegate a recommended approach for workflow migration? and for updates to workflow.