这篇文章主要briefly introduce the Install and configure SharePoint 2013 Workflow。
Microsoft 推出了新的Workflow engine 针对于SharePoint 2013 Server--Workflow Manager,这个Service是基于Windows Workflow Foundation的,但是OOTB(out-of-the-box)安装却被隐藏了,当sharepoint 2013 Server安装的时候只提供了SharePoint 2010 Workflow。
下面就简单介绍一下,如何安装和配置SharePoint 2013 workflow。
Prerequsites:
Workflow Manager
Service account for Workflow Manager Service
User Profile Service must be configured and run
安装Workflow Manager 1.0,这里我们介绍一种方式,通过Web Platform **下载安装,地址如下:http://go.microsoft.com/fwlink/?LinkID=252092,下载安装即可。
打开Web Platform Installer 然后选择Workflow Manager 1.0 点击安装。
安装状态,等待....
Click “continue”
接下来需要配置Workflow Manager configuration wizard,这里有3个选项,这里我们选择第一个,因为是recommend吗。
填写必要的选择
SQL SERVER INSTANCE --你的sql server name
USER ID--作为Workflow Manager Service的Account
PASSWORD--Service account的密码
Allow Workflow management over HTTP on this computer--这里根据你自己的需求吧,是否需要http站点作为开发或者测试,一般我们开发的客户产品都是需要https的。
Certificate Generation Key--加入farm其他server所需要的key
Click下一页,review and confirm 下所有信息,你也可以获取所有安装的PowerShell 命令。
安装成功之后,打开IIS,会发现为我们新建了一个Workflow Management Site的站点
Check Workflow Service是否started
访问IIS下的Workflow Management Site,browser,你将会看到下面的xml
最后,以管理员身份运行Sharepoint 2013 Management Shell:
输入以下command:
Register-SPWorkflowService -SPSite http://vmsp13 -WorkflowHostUri http://vmsp13:12291 –AllowOAuthHttp
Register-SPWorkflowService -SPSite https://vmsp13 -WorkflowHostUri https://vmsp13:12290 –AllowOAuthHttp
Note: SPSite 参数 是你sharepoint的site url,WorkflowHostUri是Workflow Management Service URL(Port 12291用于HTTP,port 12290用于SSL)。
现在我们就可以创建SharePoint 2013 Workflow 通过SharePoint Designer 2013.
参考链接:
http://blog.fpweb.net/sharepoint-2013-workflow-installing-and-configuring/#.WGoLllN96Uk
https://shareyourpoint.net/2015/04/21/install-and-configure-sharepoint-2013-workflow/
http://www.c-sharpcorner.com/UploadFile/a9d961/install-and-configure-workflow-for-sharepoint-server-2013/
https://technet.microsoft.com/en-us/library/jj658589