2015-11-06 66 views
0

我正在開發一個Nintex工作流程來查找多個列表中的延遲列表項目(截止日期< = today)並將它們郵寄給相關用戶。每個列表都有一個「NumberOfEscalationMails」列,用於保存發送郵件的數量。我在'查詢列表'中使用ListId變量獲取延遲項目。我的工作流中的所有內容都能正常工作,直到發送郵件但問題是發送郵件後,我需要增加每個延遲項目的「NumberOfEscalationMails」列中的值。但在「更新項目」行動中,沒有規定可以根據「列表ID」獲取我必須更新的列表。它只提供列表名稱的下拉菜單。但是我必須動態地選擇列表。所以我在最後一步被困在這裏!我的工作流程邏輯如下(簡化爲與此問題相關的部分):Nintex工作流程:動態地在「更新項目」動作中選擇列表

-- 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 

現在我的方法是什麼?

回答