How can I troubleshoot Sharepoint workflows?

2019-05-23 15:28发布

I'm a bit lost here and I can't find much documentation.

7条回答
干净又极端
2楼-- · 2019-05-23 15:36

Assuming you are talking about SharePoint Designer workflows? You can convert them into .NET workflows following these steps. From there, you can debug them. I haven't tried it myself (yet).

查看更多
不美不萌又怎样
3楼-- · 2019-05-23 15:41

I guess you've already seen this :-)
Troubleshoot workflow errors

查看更多
做自己的国王
4楼-- · 2019-05-23 15:42

No one mentioned the obvious resource for SharePoint Debugging -- the ULS logs. A ULS viewer filtered on a level of "unexpected" will usually show you the logged cause for the failure.

查看更多
闹够了就滚
5楼-- · 2019-05-23 15:46

.NET workflows or ones created using SharePoint designer?

I've only got latter experience and they aren't really easy to debug, you really just have to do them 1 step at a time and test up to each step.

You can view the workflow state as well in SharePoint when you go to the List Settings (sorry I don't have a WSS machine to look at currently).

查看更多
Summer. ? 凉城
6楼-- · 2019-05-23 15:50

This article has some great debugging tips for SharePoint. It gives a good general approach to development/debugging. Here are a few of the tools that are referenced:

查看更多
爱情/是我丢掉的垃圾
7楼-- · 2019-05-23 15:51

As stated, your only real choice for debugging SharePoint Designer workflows is by either going through the painful process of converting them into .NET worklows, or doing things like writing out the History List after every single step so you can see what is failing.

However, even .NET workflows are very difficult to debug in VS2005. In VS2008, they added the ability to more easily debug workflows developed using that environment.

查看更多
登录 后发表回答