I faced an issue today with activating a published workflow.

I opened the workflow and got the error marks in each of the steps after importing the workflow solution to the test environment.

Resolution :

  1. Open the workflow after publishing
  2. Reset all the values in the lookup/optionset.
  3. Save & Close.

The error basically occurs when there is mismatch in the GUID .

Thanks!