通过工作流创建的列表项不会以“新项"开始.工作流程 [英] List item created through workflow does not start "new item" workflow
问题描述
我有一个包含两个工作流程的列表:
I have got a list with two workflows:
- 每次创建新项目并将其设置为特定值时,都会执行一个工作流程
- 可以手动执行另一个操作,作为回报,它会创建一个新的列表项
我想让通过工作流2创建的列表项在创建时也执行工作流1.但是,这似乎没有发生,或者至少没有始终如一地发生.在大多数情况下,当我查看通过工作流2创建的新项目的工作流历史时,历史中没有任何内容.当我手动创建项目时,工作流1便开始正常运行.
我不知道为什么它不起作用?通过工作流创建项目时,Sharepoint是否会区别对待项目?
What I want to happen is for the list items that are created through the Workflow 2 to also execute Workflow 1 when they are created. However, that does not seem to happen, or at least it doesn't happen consistently. In most cases when I look at the Workflow History of the new items that were created through Workflow 2 there is nothing in the history. When I manually create items then Workflow 1 is started without issues.
I can't figure out why this isn't working? Does Sharepoint treat items differently when they are created through a workflow?
推荐答案
如何创建列表项目?通过活动或自定义代码.
How do you create a list item? Via Activity or Custom Code.
这篇关于通过工作流创建的列表项不会以“新项"开始.工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!