2013 Workflow server state C#
-
10-12-2019 - |
Question
I use 2013 workflows in my SharePoint solution.
A few days ago the workflow server shut down and the SharePoint app did not work properly. So I wonder if there is a possibility to check the state of the Workflow server before the user gets to use the app?
So I could check if the server is reachable and display an error otherwise.
Solution
Are you talking about the workflow service? You can navigate to yourdomain:12291/ and auth as a user belonging to the workflow manager admin group - see if you get back an XML file.
OTHER TIPS
Ok, that was my exact thought. But what if the server is running, but has an error. Then I would get a 500 error back, but not what the problem really is. So I cannot log the error to the ULS for example.
best regards Alex