Overview
If you are replicating workflows between document vaults, and some workflow is not imported to the destination vault despite the import job completing successfully, check your M-Files server's Windows Application event logs for possible warnings and errors.
If there is a warning message similar to the one below, it means there is an Assign to user state action in the source vault, which is incompatible with the destination vault.
The incoming structure element Workflow "<workflow name>" {<vault guid>} (<x>, <y>) was skipped because of the following reason: State[<z>].Actions.AssignToUser.Description.PropertyDef {ID:<ID>}.
Note that it can be a state action that isn't even in use.
Solution
Check the Assign to user state actions of your workflow states in the source vault and make sure they are valid.
Even if a state action isn't enabled, enable it temporarily and select Define. Then, clear it and apply the changes so that any remnants of an unnecessary state action are not left. Run export from the source vault and import to the destination vault again.
