从我的自定义列表模板创建新列表将继续使用原始列表工作流程,而不是创建新的工作流程 [英] Creating a new List from a my custom list template will keep using the original list workflow instead of creating a new one
问题描述
我正在使用SharePoint 2016本地农场.而且我有以下奇怪的行为:
I am working on a sharepoint 2016 on-premise farm. and i have the following weird behavioure:-
- 我添加了一个名为
ListA
的自定义列表. - 我为此
listA
创建了一个新的列表工作流程. - 我在
ListA
内添加了一些项目. /li> - 我将
listA
保存为模板,然后选择包含内容. - 现在我基于该模板创建了一个新列表.
- I have added a custom list named
ListA
. - I create a new list workflow for this
listA
. - I added some items inside
ListA
. - I saved
listA
as template and i chose to include content. - now i create a new list based on the template.
但是当我访问新列表时,我发现它使用的是原始列表工作流程,而不是新的工作流程...就像当我从Sharepoint Designer访问我的工作流程列表时,我只能看到原始工作流程,而这两个列表;
listA
和新列表正在引用它..那么这种情况有效吗?还是我遇到问题??
But when i access the new list i find that it is using the original list workflow and not a new workflow... as when i access my workflows list from sharepoint designer, i can only see the original workflow, while both lists;
listA
and the new list are referencing it.. so is this scenario valid ? or i am facing problems ??
我也做了这个测试:-
1.我拥有的列表工作流程将更新一个名为"Item Number"的字段,等于ID + UserName + Status.
1. the list workflow i have will update a field named "Item Number" to be equal to ID+UserName+Status.
2.现在,当我从列表模板创建新列表时,我在新列表中添加了一些项目.
2. now when i create a new list from the list template, and i add some items inside the new list.
3.工作流会正确更新项目编号字段的值.
3. the workflow update the item number field values correctly..
4.虽然当我从sharepoint Designer访问工作流信息时,它表明列表工作流的关联列表是旧列表,而不是新列表...尽管列表工作流正在新列表项上触发.. as它更新了 编号"场..
4. although when i access the workflow info from sharepoint designer, it shows that the associated list for the list workflow is the old list and not the new list... although the list workflow is firing on the new list items..... as it updated the "Item Number" field..
因此,如果将每个工作流保存在一个列表模板中,那么谁能区分它们呢?
so can anyone adivce how list workflows works in-case they are saved inside a list template??
谢谢
推荐答案
约翰,
我可以在测试环境中重现此问题,这似乎是设计使然.
I can reproduce this issue in my test environment, it seems to be by design.
如果您修改工作流程并重新发布,则新列表中的工作流程将不会更新.建议您为新列表创建一个新列表工作流程,并从旧工作流程中复制操作.
If you modify the workflow and republish, the workflow in the new list will not update. I suggest you create a new list workflow for the new list and copy the action from the old workflow.
最好的问候,
丹尼斯
这篇关于从我的自定义列表模板创建新列表将继续使用原始列表工作流程,而不是创建新的工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!