0

我正在开发一个 Nintex 工作流程,以从多个列表中查找延迟的列表项(截止日期 <= 今天)并将它们邮寄给相关用户。每个列表都有一个“NumberOfEscalationMails”列,用于记录已发送的提醒邮件数量。我使用“查询列表”中的 ListId 变量获取延迟的项目。在发送邮件之前,我的工作流程中的所有内容都可以正常工作。但问题是在发送邮件后,我需要为每个延迟的项目增加“NumberOfEscalationMails”列中的值。但是在“更新项目”操作中,没有规定可以根据“列表 ID”获取我必须更新的列表。它仅提供带有列表名称的下拉列表。但我必须动态选择列表。所以我在最后一步被困在这里!我的工作流程逻辑如下(简化为与此问题相关的部分):

-- QueryList to get all the listNames and ListIds from a configuration list and store them in WF collection variables.
-- Foreach loop to iterate through each of above lists.
   -- QueryList Caml query using List ID variable to get all delayed items and store their IDs and Titles in collection variables.
   -- Nested Foreach Loop to iterate through all the delayed items found above.
      -- Build the Item URL and mail them to user.
      -- Increment the column "NumberOfEscalationMails" value.(My Problem.)
--End

我现在应该采取什么方法?

4

1 回答 1

-1

带有列表 Web 服务的循环怎么样? https://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems(v=office.12).aspx

于 2016-06-28T19:03:51.540 回答