1

I can't delete my 2013 workflow.

When I try to delete it with SPD, nothing happens. SPD does a refresh but the workflow is not deleted.

When I try it directly in SharePoint, I get an error:

"HTTP request failed after 20000 millisecondes"

ULS LOG told me :

Workflow revision number mismatch! Current workflow store revision is 160 and workflow host scope has revision 0.

How can I definitly remove this WF ?

1

I had the same issue with one of my client. Try to change the machine and SP Designer.

This normally happens when the workflow store revision number and the host which actually respond to the workflow has a mismatch of the revision number.

Make sure your Workflow farm architecture exists on ODD number of servers i.e 1 or 3. This is officially from Microsoft to install workflow manager on 1 or 3 servers.

https://msdn.microsoft.com/en-us/library/jj193434(v=azure.10).aspx

  • Thanks for your reply. I did a complete reinstallation of workflow manager and now it"s working correctly. – EGuidez Apr 28 '16 at 13:21
0

For people where the solution doesn't work. The error: Workflow revision number mismatch! is not the problem.

I was digging around the mismatch, its just that workflow manager doesn't give the scope-revision number back through a header "Scope-Revision" SharePoint expects.

I had another issue, which is solved now, but the error still shows up. Though everything about my workflows works (deleting, adding, updating, associating and the workflows itself).

For me it was that the web-url changed from http://sharepoint/ (November 2015 CU) to http://sharepoint (July 2016 CU). So http://sharepoint_api was called instead of http://sharepoint/_api.

Someone else could have a different problem.

0

This error message appeared also in my ULS, when I was trying to activate a sandboxed web feature containing a workflow.

For me, this was the solution: http://sharepoint1083.rssing.com/browser.php?indx=4132529&item=63:

  1. create a separate feature for workflows only
  2. move all workflows in this separate feature and add no other modules or sharepoint artefacts like lists or site definitions in there.
  • Please add the solution steps in the answer to avoid the broken links in the future!! – Mohamed El-Qassas MVP Nov 22 '17 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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