Sharepoint Designer - 创建一个简单的工作流程,检查另一个工作流程的状态
我正在尝试使用 Sharepoint Designer 创建一个简单的工作流程。 我们已经有了一个用户定义的工作流程,称为“内部审批”。 这将创建一个具有相同名称的列。
基本上,我的工作流程应该执行:
条件:
if Internal Approval equals Approved and Status equals Draft //custom field I want to set, this works
快速调试后,问题是内部批准不等于批准
也不包含它,内部批准等于16。
问题:这个数字是多少,我可以相信它始终是 16 来获得批准的工作流程吗?
或者更好的是,我如何检查另一个工作流程是否已获得批准?
I'm trying to create a simple workflow using the Sharepoint Designer. We already have one user-defined workflow, called Internal Approval. This creates a column with the same name.
Basically, my workflow should perform:
Conditions:
if Internal Approval equals Approved and Status equals Draft //custom field I want to set, this works
The problem, after a quick debug, is that the Internal Approval does not equal to Approved
nor contains it, Internal Approval equals 16.
The question: what is this number, and can I rely on it always being 16 for an approved workflow?
Or better, how can I check a if another workflow was approved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这可以帮助您工作流程状态
参考来自 MSDN 的文章,只需将上面的 Enum 改为 Integer你会得到价值观。
还可以根据视图中的工作流程状态进行过滤。 参考
May be this could help you Workflow Status
Reference Article from MSDN, just type case the above Enum to Integer you will get the values.
Also to filter based on the Workflow Status in the View. Refer