本文介绍了单个邮件尽管在SharePoint 2013中使用工作流为SharePoint列表发送了多个邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用SharePoint Designer编写SharePoint 2013的工作流.要求是因为我有一个列表,其中没有很多项目.在该列表中有一个列名为``计划日期''的列.必须编写一个每天发送邮件的工作流程 在计划日期的7天之前.但是问题在清单中,项目太多了,当我编写工作流程时,它会分别为每个项目发送邮件.但是我想发送一封邮件,尽管邮件太多了.任何物品的计划日期是 即使本周计划的日期不同,也将向用户发送一封邮件.
请帮忙.

I need to write a workflow for SharePoint 2013 using SharePoint designer.The requirement is as that i have a list with ample no of items.In that list there is column with name "Planned Date".So i have to write a workflow that will send a mail daily before 7 days of planned date.But issue is in a list there are too much items and when i write a workflow it sends mail for each and every items separately.But i want to send a single mail inspite of too many mails.Means if the planned date of any item is coming this week a single mail will send to users even if different items planned date is coming this week.
Please Help.


推荐答案

我们需要迭代工作流程中的所有列表项以检查计划日期,获取计划日期即将到来的项目.

要循环工作流中的项目,我们需要.使用"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


此处是有关使用SharePoint Designer 2013工作流遍历列表项的演示:

https://weblogs.asp.net/ricardoperes/looping-through-list-items-in-sharepoint-2013

最好的问候

张琳达


这篇关于单个邮件尽管在SharePoint 2013中使用工作流为SharePoint列表发送了多个邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 14:31