SharePoint Workflow InfoPath项目更改会触发电子邮件 [英] SharePoint Workflow InfoPath Item Change triggers Email

查看:84
本文介绍了SharePoint Workflow InfoPath项目更改会触发电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




您好,


如何在每次更新或更改项目时停止触发电子邮件工作流程。这是我的参数



1。我有一个通过InfoPath设计的SharePoint列表。


2。我的一个项目是"状态":已取消;提交;分配;等等。


3。 E ach状态具有单独的工作流程,可触发不同的电子邮件。


4。似乎随时更新列表中的另一部分(例如评论),上面的电子邮件将以相应的状态发送。  


5。我查看了版本和工作流程历史记录,我可以看到每个工作流程都是在列表表单的任何字段上进行更改时启动的。



如何阻止这种情况发生?我希望随时更改状态时发送电子邮件,但如果其他字段更新,我不希望电子邮件发送,例如"其他评论"。 在其他字段中更改的大多数项目将在
下方显示请求状态。 


感谢您的帮助,谢谢。


解决方案

嗨尼克,这经常出现。我要做的是创建一个隐藏列,您只是用来跟踪该状态电子邮件是否已经发送。例如,如果你有状态A,B,C,我会创建一个电子邮件,B电子邮件,C电子邮件。然后根据我在工作流程中发送
电子邮件的条件,它将是:


如果状态= A且电子邮件不等于已发送


     做东西


     将电子邮件设置为"已发送"



这样您只需经过一次,但可以保持工作流程在所有修改中运行。


Hello,

How can I stop email workflows from triggering everytime an item is updated or changed. Here are my parameters

1. I have a SharePoint List designed through InfoPath.

2. One of my items is "Status": cancelled; submitted; assigned; etc.

3. Each status has a separate workflow that triggers different emails.

4. It seems as anytime another part of the list, say comments, is updated, the email above will send with the corresponding status.  

5. I looked in versions and workflow history and I can see that each workflow is started anytime a change is made on any field of the list form. 

How can I stop this from happening? I want emails to send anytime a status is changed, but I don't want emails to send if other fields are updated such as "additional comments."  The majority of items changed in other fields will occur in the request status pictured below. 

Appreciate your help, thank you.

解决方案

Hi Nick, this comes up often. What I would do is create a hidden column that you use just to track if that status email has already been sent. So for example, if you have status A, B, C, I'd create A Email, B Email, C Email. Then on my conditions for sending the email in my workflow, it would be:

If status = A and A Email not equals Sent

     Do stuff

     Set A Email to "Sent"

That way you only go through once but can keep the workflow running on all modifications.


这篇关于SharePoint Workflow InfoPath项目更改会触发电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆