Environment Migration Wizard (EMW) fails while creating package because of the strategy development package is running an invalid query.
Error reported in log fie:
SqlException Invalid object name 'MNT.ProcessFlowGroup'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
This is related to Issue 082846, fixed in 7.9 - Failure Mode Process Flows were made obsolete in 7.7 and should have been removed from the SD Settings migration package.
To get around the problem, do the following:
APM_Environment_Migration_Guide on your APM Server in <APM install directory>\Docs\English\Technical_Guides folder