根据值连接另一个列表中的一个字段中的多个字段 [英] Connecting multiple fields in one field from another list based on a value

查看:94
本文介绍了根据值连接另一个列表中的一个字段中的多个字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个列表"A"其中我存储名称,电子邮件和产品

i have list "A" in which i store name, email and product

我有一个列表"B"这应当基于某些值来触发电子邮件,其中我选择产品,然后说"汽车"......然后该工作流程应该查看列表"A"。并查看哪些电子邮件地址存储相同的产品。因此,如果
用户X与电子邮件x@g.com有一个产品"汽车",它应该发送电子邮件到他的地址。问题是,只有一个人有车,这才有效,这不是我的情况。我不知何故需要将所有邮件加入一个或多个
电子邮件中并向他们发送电子邮件。

i have a list "B" which should trigger an email based on some values, among other i choose a product, lets say "car"...this workflow should then look into list "A" and see which email addresses store the same product. so if user X with email x@g.com has a product "car", it should send an email to his address. the problem is that this works only well if theres just one person with a car, which is not my case. I somehow need to join all the mails into one or multiple emails and send them an email.

类似产品的过滤器,并返回与该过滤器匹配的所有电子邮件。任何想法?

Something like an filter for product and return all emails that match that filter... any ideas?

我使用sharepoint 2016,也是infopath 2013或SPD,但工作流程2010(希望不是问题)

I use sharepoint 2016, also infopath 2013 or SPD, but workflow 2010 (hope its not an issue)

欢呼

ML

推荐答案

我们需要迭代工作流程中的所有列表"B"项目以检查"产品",获取产品等于产品值的项目当前项目。

要循环工作流程中的项目,我们需要
使用REST API获取项目从列表中
。使用" http://< site> / _api / web / lists / getbytitle('< list>')/ items "REST API获取
列表中的所有项目,并使用

To loop items in the workflow, we need to use REST API to get items from the list. Use the "http://<site>/_api/web/lists/getbytitle('<list>')/items" REST API to get all items in the list, and filter the items using the


过滤器参数。
filter parameter.

以下是使用SharePoint Designer 2010工作流循环列表项的演示:

https://blog.rbaconsulting.com/tutorial-how-to-loop-through-multiple-list-items-without-code-using-a-sharepoint-2010-workflow/

https://social.technet.microsoft.com/wiki/contents/articles/32815.sharepoint-2013-designer-workflow-to -iterate-through-rest-api-results-using-loop.aspx

最好的问候,

琳达


这篇关于根据值连接另一个列表中的一个字段中的多个字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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