当用户正在运行一个工作流时提示启动该工作流(Workflow 2013) [英] Prompt when user tries to start a workflow when it has one running (Workflow 2013)
本文介绍了当用户正在运行一个工作流时提示启动该工作流(Workflow 2013)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
当用户尝试针对已经具有一个正在运行的工作流程的项目启动工作流程时,如何提示消息?
How can I prompt a message when a user tries to start a workflow against an item that already has one running workflow?
谢谢
推荐答案
据我所知,没有用于SharePoint 2013工作流的OOTB方法.
Per my knowledge, there is not a OOTB method to achieve it for SharePoint 2013 workflow.
作为一种解决方法,我们可以使用带有Web服务(workflow.asmx)的JavaScript来检查列表项工作流程的状态.
As a workaround, we can check the list item workflow status using JavaScript with web service(workflow.asmx).
如果状态为正在运行",则提示消息(警告),如果未手动启动工作流.
If the status is running, prompt a message(alert), if not start a workflow manually.
http://www.vrdmn.com/2014/08/start -sharepoint-2013-workflows-with.html
最好的问候,
丹尼斯
这篇关于当用户正在运行一个工作流时提示启动该工作流(Workflow 2013)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文