无法通过工作流复制日历列表项 [英] Unable to Copy Calendar List Item Via Workflow

查看:105
本文介绍了无法通过工作流复制日历列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个名为"测试植物日历"的简单日历列表。我最终将拥有多个具有不同名称的相同日历列表。然后我有一个主日历,我想在创建事件时复制所有事件(最终合并了100多个日历
)。我创建了一个可重复使用的2010工作流程,该工作流程将"暂停1分钟"。然后"将当前项目复制到主日历"。但它不起作用。我看到在测试工厂日历
中创建事件后运行的工作流程,但它正在进行中并且主日历上没有显示任何新内容。

I have a simple calendar list called "Test Plant Calendar". I will eventually have multiple identical calendar lists with different names. I then have a Master Calendar which I want to copy all events to upon event creation (over 100 calendars consolidated in the end). I have created a reusable 2010 workflow that will "Pause for 1 minute." Then "copy current item to Master Calendar". But it does not work. I see the workflow run after an event is created in the Test Plant Calendar but it gets stuck in progress and nothing new shows up on the Master Calendar.

更多日历设置的详细信息:

创建的"测试工厂日历"

根据活动内容创建新的内容类型,包括一些新列。

为测试植物日历添加了新的内容类型。

删除事件内容类型以避免混淆

然后我将日历保存为模板并使用它创建了主日历,因此它应该是相同的。

将工作流程分配给测试植物日历和测试。



我是网站所有者。所有设置都应该是不受限制的,但如果有一个特别让我知道,我会仔细检查它。

I then saved the calendar as a template and created the Master Calendar using it so it should be identical.
Assigned the workflow to Test Plant Calendar and tested.

I am site owner. All settings should be unrestricting but if there is one in particular let me know and, I will double check it.

如果这么简单的事情不起作用那就太令人沮丧了......救命!谢谢!





更多背景信息:
我创建主日历的原因是因为我需要一个工作流来为每个创建的事件运行。但我需要它来运行所有100多个日历上的所有事件..并且每个事件将具有来自
事件列表项元数据的自定义参数,例如受理人,位置,事件类型,详细信息,重复间隔和截止日期。为了在整个工作流程中从列表事件中提取这些参数,它需要是一个列表工作流,以便它知道存在哪些列。可重用的
工作流不起作用,因为在工作流创建期间,它不知道最终将分配给哪个列表,因此不包含查找的自定义列。我正在避免为每个日历列表编写列表工作流程,因为经常会添加新的
日历,所以我需要一个可以在将来轻松分配的千篇一律的工作流程。我的解决方案是将所有事件数据合并到一个日历中,并在该主日历上创建一个可以在项目创建时运行的列表工作流。
(是的,我知道如果项目是由工作流程创建的,它不会触发新的工作流程[递归预防] ...我找到了一个使用REST API的工作...希望它在我使用它时有效。)




如果有人有明智的想法来简化我的任务噩梦,请告诉我。谢谢!



More Background Info:
The reason I'm creating a Master Calendar is because I need a workflow to run for every event created. But I need it to run for all events on all 100+ calendars.. and each event will have custom parameters from the event list item metadata such as assignee, location, event type, details, recurrence interval, and due date. In order to pull these parameters from the list event throughout the workflow, it needs to be a list workflow so it knows what columns exist. A reusable workflow doesn't work since during workflow creation it does not know which list it will eventually be assigned to and thus does not contain the custom columns for lookups. I am avoiding writing a list workflow for each calendar list since there will be new calendars added often, and so I need a cookie-cutter workflow that can easily be assigned in the future. My solution here is to consolidate all the event data into one calendar and create one list workflow on that master calendar that can run upon item creation. (Yes I know if items are created by a workflow, it will not trigger a new workflow [recursion prevention]... I have found a work around for that using REST APIs.. hopefully it works when I use it.)

Please let me know if anyone out there has a bright idea to simplify my nightmare of a task...THANKS!

推荐答案

尝试使用"创建项目",并将所有字段设置为您要复制的项目中的内容。从标题开始,确保其有效。
Try using the Create Item instead and set all the fields to what it is in the item you're copying. Start with just the title to make sure that works.


这篇关于无法通过工作流复制日历列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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