Get List Status of workflow in sharepoint
2017-03-13 20:57
441 查看
publicstaticstringGetWorkflowStatus(SPListItemlistItem,stringworkflowTitle) { varworkflowStatusField=listItem.Fields[workflowTitle]asSPFieldWorkflowStatus; intstatusValue=int.Parse(listItem[workflowStatusField.StaticName].ToString()); returnworkflowStatusField.GetFieldValueAsHtml(statusValue); }
相关文章推荐
- 转:How to submit the rows of a repeating table in InfoPath to a SharePoint list
- How to delete a large number of data in SharePoint for List when refreshing data?
- Custom Outcome Options of Task Form in SharePoint Designer on SharePoint 2013 Workflow
- How to delete a large number of data in SharePoint for List when refreshing data?
- Deleting a large number of items from a list in SharePoint
- Step by step create three status workflow in SharePoint 2010
- Get the true value of a calculate field in SharePoint
- How To: Check if a user is part of a SharePoint group in InfoPath
- 获取本机已安装的软件列表C#/VB.NET(Get the list of installed software in local pc)
- Bulk Editing Workflow Tasks in Office SharePoint Services 2007
- left of '->GetStatus' must point to class/struct/union/generic type
- Sharepoint List Attachments in a Webpart : The Solution
- Extend toolbar of HtmlEditor in SharePoint 2007
- Get the SharePoint groups in Infopath 2010 and SharePoint 2010 by current user without any code
- 【Vegas原创】Change Title of Existing Site Collection in Sharepoint
- Sharepoint List Attachments in a Webpart : The Solution
- Customization of SharePoint list menu item – Part 1 add Custom Action Item
- Filter Lookup List in Sharepoint
- 基于POSIX在Linux下C语言实现读取整个目录文件[Get a List of Files in a Directory with C]
- 使用SharePoint Web Serivce(2)--Update Delete a item in a list