sharepoint-2010 - SharePoint 工作流设计器中的 "Go-To"或 "Jump"操作

标签 sharepoint-2010

构建工作流时,SharePoint Designer 2010 中是否有“跳转”操作?

例如:

If No Approver 1
    Jump to "JumpHere"
Else 
    E-mail Approver 1
    Wait for Approval

   If Approved
      Jump to "JumpHere"
   Else 
      Notify Requestor he's been rejected.

"JumpHere"
If No Approver 2
    Jump to "JumpHere2"
Else
   E-mail Approver 2
   Wait for Approval

   If Approved
      Jump to "JumpHere2"
   Else 
      Notify Requestor he's been rejected.

"JumpHere2"
Repeat...

我在编写MIPS汇编时一直使用跳转,但似乎不能用它来使用它......但确实需要它。

最佳答案

不,我不这么认为。如果您有一组可能会重复的操作,那么您基本上必须在每次出现条件后添加它们。是的,这会导致一些“重复代码”,但工作流程更适合非程序员,因此他们将其设置为按从步骤 1 到步骤 2 到步骤 3 等的顺序运行。

但是,您可以用 C# 编写工作流程(如果您足够了解的话)并执行您所要求的操作

关于sharepoint-2010 - SharePoint 工作流设计器中的 "Go-To"或 "Jump"操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8000832/

相关文章:

SharePoint 2010 中的 Javascript window.onload 问题

c# - 如何从 SPWeb 获取 SPWebApplication?

c# - 将 SaveFileDialog 与 ClosedXML 一起使用

c# - 配置 Sharepoint 2010 以使用 C sharp 和 aspx 发送电子邮件

.net - 将 SharePoint 2007 迁移到 2010

c# - 使用 'As' 而不是 (<T>) 进行转换?

c# - 在 SharePoint 2010 web 部件中模拟用户以调用 WCF 服务

c# - 从包含变量的C#执行多个Powershell命令

javascript - 在 bxslider 中使用高级字幕

sharepoint-2010 - 如何在 SharePoint 2010 EditModePanel 中显示正确的分类法控件?