SCSM Workflows just stopped. NO events being created :(
I have an issue where all workflows have stopped being created - 2 days ago. So no email notifications and CRs being stuck at pending. Apparently no changes has been made the the SQL side or the VM with console on.
Does anyone have a script to check the amount of failed workflows?
thanks,
Best Answers
-
Nicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭Also, you can try "flushing the health service state" by doing the following:
- On your workflow server, stop your 3x SCSM Services (OMSDK, OMCFG, and the Microsoft Monitoring Agent)
- Go to C:\Program Files\Microsoft System Center\Service Manager and rename the "Health Service State" folder to "Health Service State - old" (or something like that)
- Restart your Workflow server, which will also restart those services
This will pull down a fresh copy of the workflow state from the database, and can help if there is some local issue on the workflow server.8 -
Brian_Wiest Customer Super IT Monkey ✭✭✭✭✭@Pierre_Smit Do you only have one server? It is best the clear the Health Service State on all Management servers include the portal server at the same time.6
Answers
You can check out this post here on troubleshooting workflows: https://blogs.technet.microsoft.com/servicemanager/2013/01/14/troubleshooting-workflow-performance-and-delays/
Thanks,
Nick
This will pull down a fresh copy of the workflow state from the database, and can help if there is some local issue on the workflow server.
The link @Nicholas_Velich provides is the absolute, must, go-to, starting point for addressing this issue within SCSM. However if this is your first foray into workflow troubleshooting it can be a little overwhelming, confusing, and/or you may end up down a lot of different rabbit holes trying to address a root cause. On top of this, there is no silver bullet solution here given the variables that exist across SCSM environments (other System Center products being used/synced, various connector's schedules start/end times, how many connectors, Cireson's Asset management workflows, custom management packs/workflows, SQL backend, disk subsystem, etc.)
Here's some things I would be checking just as an initial diagnosis:
and
This particular discussion is one I feel like I could write a book on, so to spare your mouse wheel from so much scrolling. I'll wrap this up for now. Best of luck troubleshooting!
Thank again.