Sharepoint 2013:如何使用sharepoint工作流或任何其他方式基于另一个列表更新多个列表项 [英] Sharepoint 2013: How to update multiple list items based on another list using sharepoint workflow or any alternate way

查看:104
本文介绍了Sharepoint 2013:如何使用sharepoint工作流或任何其他方式基于另一个列表更新多个列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个共享点列表。在列表A中创建新条目时,列表B中与该员工相关的所有条目都应使用管理员名称更新(列表B.Manager名称=列表A.管理员名称,其中列表B.Employee名称=列表A.员工姓名) 。请求
帮助您实现这一目标。

I have 2 sharepoint lists. When a new entry is createdin List A, all the entries related to that employee in List B should get updated with Manager Name (List B.Manager Name= List A. Manager Name where List B.Employee Name=List A.Employee Name). Request your help in achieving this.

我尝试使用sharepoint 2013工作流程。但即使我使用循环,它也只更新列表B中的第一个匹配条目。

I tried with sharepoint 2013 workflows. But even if I use loops, it only updates the 1st matching entry in List B.

列表A包含列:员工姓名,经理名称

List A with columns: Employee Name, Manager Name

列表B包含列(每个员工有多个条目):员工姓名,经理姓名,其他信息1,其他信息2

List B with columns (multiple entries for each employee): Employee Name, Manager Name, Other Info1, Other Info2

谢谢,

Rashmi

推荐答案

嗨拉什米,

您可以按如下方式创建自定义工作流程:

You can create the custom workflow as below:

设置"更新列表项"操作如下:

Set "Update List item" action as below:

在工作流程设置"开始选项"部分中,选择"创建项目时自动启动工作流程";选择。

In the workflow settings Start Options section, select "Start workflow Automatically when an item is created" option.

祝你好运,

Grace Wang

Grace Wang


这篇关于Sharepoint 2013:如何使用sharepoint工作流或任何其他方式基于另一个列表更新多个列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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