I try to publish a workflow but it says there are some errors, at the advanced button I see this message:

(0, 0) Activity 'ID4239' validation failed: Cannot resolve Activity 'ID4102'.)
(0, 0) Activity 'ID4230' validation failed: Cannot resolve Activity 'ID4102'.)

But when clicking at verifying errors it says that there are no errors.

How can publish the workflow?

How can I find which activities are the id 's exposed by the error message?

2 Answers 2


Cause: You should not copy/paste your SP workflow actions/conditions.

Resolution : Try this one hopefully, close your workflow tab and refresh the SharePoint designer. Open the workflow and publish the workflow now, If any error now it will be showing the error or we can spotted the error area automatically.

Note: : You need to save your changes before the closing the workflow.

  • If the above answer is satisfying your question then, please accept it so it will help the other people. Nov 28, 2019 at 11:48

Did you copy/paste it from the old workflow?

If yes, then simply cut and paste the entire workflow into the same window. Then try to publish it. If the issue still persists, then open all the dynamic variables and just click on Save without doing any changes. Then publish the workflow.

Here are the references for a similar issue under which they just cut/paste the workflow in the same window and the issue was resolved.

  1. publishing 2010 workflow with SPD2013 get error "SharePoint Designer 2010 Errors were found when compiling the workflow
  2. Cannot resolve Activity

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.