工作流程多个唯一值项目更新循环 [英] Workflow Multiple Unique Value Item Update Loop

查看:74
本文介绍了工作流程多个唯一值项目更新循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我一直在使用SP10.我们最近已迁移到SP13.我有一个系统列表(按位置编号),带有某些列(最后检查和报告者),当提交基于Web的InfoPath表单时,这些列会通过SP工作流自动更新 由用户.

To date I have been working with SP10. We have recently migrated to SP13. I have a systems list (by Location No.), with certain columns (Last Inspected and Reported By), that are auto-updated through a SP workflow when a web based InfoPath form is submitted by the user.

在SP10中,我将使用列表资产ID号"列(不重复这些数字)作为在通过工作流更新检查日期"和报告人"列时要搜索的唯一值.但是,有时会存在多个资产 一个位置,并且由于该单个基于Web的表单提交操作,这些资产中的每个资产都应进行更新.这在SP10中是不可能的.工作流程将更新该位置遇到的第一个资产,而我必须手动 更新其余的内容.

In SP10 I would use the list Asset ID No. column (these numbers are not repeated), as the unique value to search for when updating 'Inspection Date' and 'Reported By' columns through the workflow. However, there are times when there are multiple Assets at a single Location, and each of those Assets should be updated as a result of that single web based form submittal action. This was not possible in SP10; the workflow would update the first Asset is come across at that Location, and I would have to manually update the rest.

据我了解,SP13具有一个循环"过程,该过程将使工作流不止一次遍历列表,并在每次出现时根据唯一值执行所有关联的和适当的更新.

It is my understanding that SP13 has a 'Loop' process that will allow the workflow to go through a list more than once, performing all associated and appropriate updates based on a unique value every time it appears.

有人可以对此问题进行澄清,并提供有关如何通过工作流程最有效地实现我的目标的指导.

Can someone provide clarification on this issue, and provide guidance on how to best achieve my goal through a workflow.

示例:

车辆力克否上次检查

福特    123VB3V       11-15-16     熊熊

Ford    123VB3V        11-15-16       Y Bear

福特    2HFT45R       8-23-17   Y Bear 

Ford    2HFT45R         8-23-17        Y Bear 

福特    4UYET67        2-11-17      B熊

Ford    4UYET67         2-11-17       B Bear

道奇  65TEP39        5-27-17 Y熊

Dodge   65TEP39         5-27-17       Y Bear

评论:当福特的检查报告上载后,我的新工作流应基于Make(Ford)和Inspector(Y. Bear)在前两行触发Date和Inspected By数据的更新.

Comment: When an inspection report for Ford is uploaded my new workflow should trigger an update for the Date and Inspected By data on the first two lines, based on the Make (Ford) and Inspector (Y. Bear).

现在,使用SP10工作流程,仅更新第一行.满足该参数的其他任何参数都必须手动更新.

Right now, using a SP10 workflow, only the first line is updated. Any others, meeting the parameter, have to be manually updated.

推荐答案

您好CurtisET,

Hi CurtisET,

根据我的理解,您是否要更新与Vehicle等于Ford和Inspected By等于Y Bear匹配的所有项目的相关列值?

Per my understanding, do you want to update the relevant column value for all the items which match that Vehicle equals Ford and Inspected By equals Y Bear?

如果是这种情况,建议您使用"Call Http Web Service"操作和循环中的操作,这是一个演示供您参考:

If that’s the case, I suggest you use "Call Http Web Service" action and Loop in the workflow, here is a demo for your reference:

对于更新列表"项目操作,可以进行如下设置:

For the Update List item action, you can set as below:

有关循环遍历多个SharePoint项目的更多信息,请查看文章打击:

For more information about Loop Through Multiple SharePoint Items, check the article blow:

https://wonderlaura.com/2014/08/01/通过多个共享点项目进行工作流循环/

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于工作流程多个唯一值项目更新循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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