如何删除列表中的旧项目并在SharePoint Designer中使用更新的数据插入新记录? [英] How delete old item in a list and insert a new record instead with the updated data in SharePoint Designer?

查看:55
本文介绍了如何删除列表中的旧项目并在SharePoint Designer中使用更新的数据插入新记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要在SharePoint Designer 2010中创建一个工作流程,该工作流程将删除列表项并使用新数据更新记录。



当创建新项目时,将触发工作流程以检查列表是否已具有具有相同列(承包商)值的记录,如果列表中不存在新承包商工作流程需要正常创建记录。



如果新承包商已经在列表中,工作流程需要进行计算(在当前排名中加1) (专栏))。



我的意图是创建一个有轮换的5个承包商的清单(排名1然后转到2,排名2然后转到3 ... ..如果排名5然后转到1)



我遇到的问题是,每当我尝试访问工作流程中的值时,我都会收到一条消息说不能返回一个单一的价值,会采取第一个这样的东西。



任何人都可以采取措施是吗?



谢谢。

Hi,

I need to create a workflow in SharePoint Designer 2010 that will delete list items and update the records with new data.

When a new item is created the workflow will be triggered to check if the list already have a record with the same column (Contractor) value , if the new contractor doesn't exist in the list the workflow need to create the record as normal.

If the new contractor is already in the list, the workflow needs to do a calculation (add 1 to their current Rank(column)).

My intention is to create a list of 5 contractors with rotation (ranking 1 then go to 2, ranking 2 then go to 3 ..... if ranking 5 then go to 1)

The issue I am having is that every time I try to access a value in the workflow, I get a message that says "can't return a single value, will take the first one" something like that.

Can anyone give the steps to do this?

Thanks.

推荐答案

这篇关于如何删除列表中的旧项目并在SharePoint Designer中使用更新的数据插入新记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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