When copying a SharePoint 2013 Workflow, the following message is displayed:
The latest version of the workflow 'YourWorkflow' is not published and could not be copied. Please publish the latest version of the workflow and try again.
Due to a limitation in the SharePoint 2013 Workflow API, Sharegate can only retrieve the latest version of a workflow whether it is published or not. If you publish a workflow version 1.0 and then save a new draft 1.1, the draft version will be returned. Because it is possible to save an invalid workflow, the workflow wont be copied to avoid any problems.
To solve this problem, you must publish the draft version from the source site using SharePoint Designer and try again.