SharePoint 2013工作流电子邮件通知未发送

编程入门 行业动态 更新时间:2024-10-25 10:21:30
本文介绍了SharePoint 2013工作流电子邮件通知未发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在sharepoint 2013网站中使用以下工作流程。我正在使用designer 2013来构建工作流程。

我的一个列"状态"有一个下拉选项,其中包含以下选项(我还有一个文本字段" helper"名为PrevStatus的列,我根据在线发现的一些教程创建的:

  • 未开始
  • 在工作中
  • 等待审核
  • 返回更正
  • 已批准
  • 我创建了一个选择3,4和5的工作流程。一旦状态设置为"等待审核",我希望向管理员发送电子邮件通知(静态电子邮件地址,以便将所有项目"等待审核"发送给我的经理。

    第二个和第三个工作流程我创建的内容基本上是相同的,除非它应该在状态从等待审核更改为"返回更正"或"已批准"时触发,并且应该发送给我列出的人员网站列标题为"已分配给"

    到目前为止,"等待审核"工作流程正在运行,但我无法启动"返回更正"或"已批准"工作流程。以下是"等待批准"和"已批准"的工作流程。我应该将的三个工作流组合成一个工作流吗?这需要一个循环才能运行吗?在设置中我将它设置为在有变化时运行但是我似乎无法得到它。非常感谢任何帮助。谢谢

    正在等待审批工作流程

    设置变量:isStatusChanged为否

    如果当前项目:PrevStatus不等于当前项目:状态

    和当前项目:状态等于等待批准

    设置变量:isStatusChanged为是

    然后将PrevStatus设置为当前项:状态

    如果变量:isStatusChanged等于是

    电子邮件:(经理电子邮件)

    舞台转换

    转到工作流程结束

    批准的工作流程

    设置变量:状态已批准为否

    如果当前项目:PrevStatus不等于当前项目:状态

    和当前项目:状态等于已批准

    设置变量:isStatusApproved为是

    然后将PrevStatus设置为当前项:状态

    如果变量:isStatusApproved等于是

    电子邮件当前项目:已分配给

    过渡到舞台

    工作流程结束

    我不会让我分享工作流程的屏幕截图,这就是我输入它们的原因。如果您有任何问题,请告诉我。

    解决方案

    您好Jesse,

    因为他们两者都在有变化时启动,我建议你将三个工作流程合并到一个工作流程中,你可以将每个状态部分放到每个阶段。

    此外,要对工作流程进行故障排除,您可以添加"记录到历史记录列表"行动之前和之后的行动以检查行动是否已执行。

    谢谢,

    温迪

    I am trying to get the following workflows working in a sharepoint 2013 site. I am using designer 2013 to build the workflows.

    One of my columns "Status"has a dropdown selection with the following options (I also have a text field "helper" column named PrevStatus" which I created per some tutorial I found online):

  • Not Started
  • In Work
  • Awaiting Review
  • Returned for Corrections
  • Approved
  • I created a workflow for selections 3,4 and 5. Once the Status is set to "Awaiting Review" I want an email notification to be sent to the manager (static email address so that all items "Awaiting Review" are sent to my manager.

    The second and third workflows I created is basically the same thing except it is supposed to be triggered when the status is changed from awaiting review to "Returned for Corrections" or "Approved" and is supposed to be sent to the persons listed in my sites column titled "Assigned to"

    So far the Awaiting Review workflow is working, however I cannot get the Returned for Corrections or Approved workflows to kick off. Below are the "Awaiting Approval" and "Approved" workflows. Should the three workflows that I have be combined into a single one? Does this need a loop to function? In the settings I have it set to run when there is a change but I just cannot seem to get it. Any help is greatly appreciated. Thank you

    Awaiting Approval Workflow

    Set Variable: isStatusChanged to No

    If Current Item: PrevStatus not equals Current Item:Status

    and Current Item: Status equals Awaiting Approval

    Set Variable: isStatusChanged to Yes

    Then Set PrevStatus to Current Item:Status

    If Variable: isStatusChanged equals Yes

    Email: (Manager Email)

    Transition of Stage

    Go to End of Workflow

    Approved Workflow

    Set Variable: is StatusApproved to No

    If Current Item:PrevStatus not equals Current Item:Status

    and Current Item:Status equals Approved

    Set Variable: isStatusApproved to Yes

    then set PrevStatus to Current Item:Status

    If Variable: isStatusApproved equalsYes

    Email Current Item:Assigned to

    Transition to Stage

    End of Workflow

    It is not letting me share the screen shots of my workflows so that's why I typed them out. Please let me know if you have any questions.

    解决方案

    Hi Jesse,

    As they both are started when there is an change, I suggest you combine the three workflows into a single workflow, you can put each status section into each stage.

    In addition, to troubleshoot a workflow, you can add a "Log to History List" action before and after an action to check if the action is executed.

    Thanks,

    Wendy

    更多推荐

    SharePoint 2013工作流电子邮件通知未发送

    本文发布于:2023-11-16 23:09:12,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1607874.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:工作流   电子邮件   通知   SharePoint

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!