且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SharePoint Online-运行Powershell启动2010年工作流

更新时间:2023-11-18 16:11:28

J.Smiley,

在SharePoint 2013内部部署中,我们需要配置Workflow Manager以启用SharePoint 2013工作流平台.据我所知,在Office 365 SharePoint Online中,工作流管理器 服务由Microsoft控制.

In SharePoint 2013 On-premise, we need to configure Workflow Manager to enable SharePoint 2013 workflow platform. And in Office 365 SharePoint Online, per my knowledge, Workflow Manager service is controlled by Microsoft.

要获得2013年的工作流程,我们需要通过WorkflowServicesManager实例连接到WorkflowInstanceService.对于2010年的工作流程,我们可以使用WorkflowAssociations对象,而无需 WorkflowServicesManager实例 .

To get the 2013 workflows, we need to connect to WorkflowInstanceService via WorkflowServicesManager instance. For the 2010 workflow, we can use WorkflowAssociations object without WorkflowServicesManager instance.

例如:

foreach(


listassociation在
listassociation in


list.WorkflowAssociations中) { 写主机
list.WorkflowAssociations) { Write-Host