Please guide me how to check state machine workflow error as well as please let me know how we get/track state machine workflow logs?. We have SharePoint 2010 environment. Thanks and Appreciate for the reply.
State machine workflows didn't exist in 2010. Perhaps you are using 2013, or perhaps there's a different feature you're thinking of? While there are more advanced options, the one simple options is adding logging messages in the workflow itself, which is helpful for tracking down all sorts of issues including logic errors. If the workflow has stopped with an error message, the error should be on the workflow status page, and more information could be in the SharePoint ULS logs.