我是工作流程新手,所以请原谅新手问题。
我在文档库上设置了一个工作流程,配置为在创建新项目时发送电子邮件。当我在此库中创建新文档时,电子邮件将按预期发送。但是,当我在此库中创建文件夹时,工作流程不会运行。如果我查看新文件夹的工作流程状态,则看不到附加的工作流程。
我需要做些什么特殊的事情来配置此工作流程以在创建文件夹而不仅仅是项目时启动吗?如果这是必须通过代码隐藏来完成的事情,我可以走这条路,但它似乎不需要代码。
提前致谢
I'm new to workflows, so please excuse the novice question.
I set up a workflow on a document library configured to send an email when a new item is created. When I create a new document in this library, the email gets sent as expected. However, when I create a folder in this library, the workflow doesn't run. If I look at Workflow Status for the new folder, I don't see the workflow attached.
Is there anything special I need to do to configure this Workflow to kick-off when a folder is created and not just items? If this is something that must be done with code-behind, I can go that route, but it doesn't seem like something that would require code.
Thanks in advance
发布评论
评论(1)
检查这篇文章:http://www.codeproject.com/KB/sharepoint/MOSS_FolderContentTypeWF.aspx
Check this post : http://www.codeproject.com/KB/sharepoint/MOSS_FolderContentTypeWF.aspx