根据InfoPath表单中的下拉选择,通过电子邮件发送工作流中的SharePoint组 [英] Emailing SharePoint groups in a workflow based on dropdown selection in an InfoPath form

查看:52
本文介绍了根据InfoPath表单中的下拉选择,通过电子邮件发送工作流中的SharePoint组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我有一个InfoPath表单,其中包含一个下拉列表,可以选择一个团队。然后,我将该团队命名为SharePoint列表,其中包含相应的SharePoint电子邮件组列。 我无法确定
如何创建捕获所选组电子邮件的工作流程列表,然后发送电子邮件组。有没有办法在工作流程中选择组?或者我是否需要以某种方式将所有电子邮件提取到列表中,然后将该列表指向工作流程?我希望
不要手动构建电子邮件列表,因为我希望每组有50-80个组,其中包含2-5封电子邮件,但如果这是唯一的方法,那么就这样吧。


我也没有任何编码知识,所以这一切都必须在基本的SharePoint设计工作流程中。


我在SharePoint Server 2013,SharePoint Designer 2013和InfoPath 2013上。我也没有选择下载任何附加组件,因为这是公司拥有的产品。



感谢您的帮助!

解决方案

< blockquote>




在Designer中,您可以在列表中创建用户输入信息的工作流程。在"操作"中,选择"发送电子邮件"。在"收件人"中,使用"用户工作流程查找"选项。在"数据源"中,选择包含电子邮件组的列表。从源代码中选择
电子邮件字段作为字段。在"查找列表项"部分中,您将告诉SharePoint如何查找正确的组。因此,您选择具有团队名称的字段(与表单中的用户选择匹配),然后按功能键
(fx)将值设置为当前项目团队所在的任何字段这将返回与用户选择匹配的团队的第一个结果。



这需要电子邮件在现场,而不是小组。没有代码,我相信这是唯一的途径。只有其他可能性才能将组内的电子邮件发送到InfoPath本身,但这可能很难做到。这是一个
的主题:  https://social.msdn.microsoft.com/Forums/en-US/0e55baca-408e-43be-8c44-e55600ac570a/how-to-get-all-users特异性-from-的SharePoint基团中的InfoPath - 或使用对象模型?论坛= sharepointcustomizationlegacy


Hello,

I have an InfoPath form that has a dropdown that selects a team. I then have that team named in a SharePoint list that has the appropriate SharePoint email group column in it. I am having trouble figuring out how to create a workflow that captures the selected group email list and then emails that group. Is there a way to select the group in the workflow? Or do I need to somehow extract all the emails into a list and then point that list at the workflow? I would prefer not to build the email lists manually as I expect to have 50-80 groups each with 2-5 emails in them, but if that is the only way to do it then so be it.

I also do not have any coding knowledge, so this would all have to be in the basic SharePoint designer workflow.

I am on SharePoint Server 2013, SharePoint Designer 2013, and InfoPath 2013. I also do not have the option to download any add-on's as this is a company owned product.

Thanks for any help!

解决方案


In Designer you can create a workflow on your list that users are entering information. In the Actions, select Send an Email. In the To, use the Workflow Lookup for a User option. In the Data Source, select the list that has your email groups. Select the email field as the field from source. In the Find the List Item section, you tell SharePoint how to find the right group. So you'd select the field that has the name of the team (that matches the user selection in the form) and then press the function key (fx) to set the value as Current Item whatever field has the team in it. This will return the first result of team that matches the user's selection.

This requires the emails to be in the field though, as opposed to the group. Without code, I believe this is the only route. Only other possibility would be to get the group emails inside of InfoPath itself, but that may be difficult to do. Here is a thread on that: https://social.msdn.microsoft.com/Forums/en-US/0e55baca-408e-43be-8c44-e55600ac570a/how-to-get-all-users-from-specific-sharepoint-group-in-infopath-or-using-object-model?forum=sharepointcustomizationlegacy


这篇关于根据InfoPath表单中的下拉选择,通过电子邮件发送工作流中的SharePoint组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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