The Workflow contains errors but they are not visible in the current view

SharePoint Designer Workflow contains errors

In this post, we’re gonna solve “The Workflow contains errors but they are not visible in the current view in SharePoint Designer 2013“.

The Workflow contains errors but they are not visible in the current view

You may also like to read SharePoint Designer 2016 and InfoPath 2016 in SharePoint Server 2016, What’re the alternatives?


SharePoint Designer Workflow contains errors but they are not visible in the current view


The Workflow contains errors but they are not visible in the current view

In SharePoint Designer 2013, I created a new simple SharePoint Workflow that doesn’t have any type of errors

But when I tried to save and publish the SharePoint Designer workflow, I got the below error:

The Workflow contains errors but they are not visible in the current view.

The Workflow contains errors but they are not visible in the current view

I tried to recheck my SharePoint workflow again to make sure that there are no any Red-Marked errors! But it was odd that there were no highlighted errors.

SharePoint Designer The workflow contains errors

I tried again and again to publish the workflow but it was all in vain and I can’t find any Red-Marked errors!


Why SharePoint Designer Workflow errors are not visible in the current view?

Actually, It looks like a BUG in SharePoint Designer.

In normal behavior, if there are any workflow errors in SharePoint Designer, it should be Red-Marked as shown below:

SharePoint Designer workflow contains errors

But to be honest, if you get “The workflow contains errors, but they are not visible in the current view” message, that means your workflow already has errors, and you must solve it to be able to publish your SharePoint Designer Workflow.

You may also like to read SharePoint 2016: Configure Workflow Manager

How to Solve The Workflow contains errors but not visible in the current view in SharePoint Designer?

To highlight and get workflow errors red marked in SharePoint Designer workflow, you should do the following:

Restart SharePoint Designer

  •  Save and close your workflow.
Save SharePoint Designer Workflow
  • Try to open it again.
  • Click on Check for Errors button from your ribbon.
Check for errors in SharePoint Designer Workflow
  • All errors should be visible now.
SharePoint Designer workflow contains errors that not red marked
  • Try to solve all red marked errors.
  • Check for errors again that should be worked properly.
the workflow errors contains no error in SharePoint Designer

Clear cache for SharePoint Designer

If the above steps didn’t help to solve this issue “The workflow contains errors, but they are not visible in the current view“, So you maybe need to clear cache for SharePoint Designer 2013 as the following:

Steps

  • Save your SharePoint workflow.
  • Close the SharePoint Designer.
  • Check the Task Manager to make sure that the SharePoint Designer is completely closed.
  • Delete all files in the web site cache folder located on this path.
%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
Clear cache for SharePoint Designer
  • Again, delete all files in the cache folder located on this path.
%APPDATA%\Microsoft\Web Server Extensions\Cache
Clear SharePoint Designer cache
  • Reopen the SharePoint Designer.
  • Open the SharePoint workflow that should be working now.

Besides the above method you can also clear cache for SharePoint Designer 2013.

  • From the file menu, click on “Options”.
The Workflow contains errors but they are not visible in the current view
  • In General section, click on “Application Options”.
  • Uncheck “Cache site data across SharePoint Designer sessions”.
  • Click OK, and restart SharePoint Designer 2013.
The Workflow contains errors but they are not visible in the current view

Resolve Visio and SharePoint Designer 2013 Conflict Issue

The workflow contains errors, but they are not visible in the current view” issue may also occur if you already have SharePoint Designer 2013, then you have installed Visio.

This is may cause a conflict and compatibility issue that affects SharePoint Designer to work as expected.

To solve this conflict you should do the following:

  • Uninstall SharePoint Designer 2013.
  • Uninstall Microsoft Visio.
  • The order is very important to
    • First, install Visio 64 bit.
    • Then Install SharePoint Designer 2013 64 bit.

You may also like to read Can’t Publish SharePoint Workflow | There are no addresses available for this application


Update SharePoint Designer 2013

If the issue still exists it’s strongly recommended to update the SharePoint Designer 2013 with SharePoint designer 2013 SP1 64 bit.

Get SharePoint Designer Build Number

  • Open SharePoint Designer 2013.
  • From the file menu, click on Account.
SharePoint designer 2013 service pack 1 64 bit
  • Click on “About SharePoint Designer” to check the SharePoint Designer Build Number.
SharePoint Designer 2013 build number and version number
Download SharePoint designer 2013 service pack 1 64 bit
  • Double click on the downloaded file to install SharePoint designer 2013 service pack 1 64 bit.
  • Check back the SharePoint Designer Build number that should be changed with the new SharePoint designer 2013 service pack 1 build number.
  • Open the SharePoint workflow that should be working now.

App Management Service Status Stopped

App Management Service is one of the prerequisites for SharePoint Workflow. So you should make sure that App Management Service Status is not stopped and working properly.

App Management Service Stopped in SharePoint

Check the details steps at Workflow Manager Health Checklist


Reconfigure Workflow Manager

In the end, if the issue still exists, so you will need to configure the Workflow Manager from scratch based on your SharePoint Version as mentioned at


Conclusion

In conclusion, we have learned how to fix “The Workflow contains errors, but they are not visible in the current view” in SharePoint Designer 2013.

Also, we have learned how to clear cache for SharePoint Designer 2013.

Moreover, we have learned how to get the SharePoint Designer 2013 build number and apply the SharePoint designer 2013 service pack 1.

Applies To
  • SharePoint 2019.
  • SharePoint 2016.
  • SharePoint 2013.
  • SharePoint Designer 2013.
You might also like to read
Have a Question?

If you have any related questions, please don’t hesitate to Ask it at deBUG.to Community.

2 thoughts on “The Workflow contains errors but they are not visible in the current view”

Leave a Reply