SharePoint Designer 工作流程:不守规矩的“收集用户数据” 行动
我是 SharePoint 在线课程的学生。 这个问题困扰着我所讨论过的每个人,包括老师。 当我使用收集数据操作创建工作流程时,似乎存在某种问题。 我可以创建发送电子邮件的工作流程并使用其他操作。 什么可能导致这个问题?
我的复制步骤很简单:
使用空白网站模板创建一个新的网站集。 创建新的自定义列表。 在 SharePoint Designer 中,在自定义列表上启动新工作流。 将收集数据操作添加到工作流中。 将用户设置为创建任务的用户。 将数据设置为任何内容。 一个复选框、一个字符串、Choice,都无关紧要。 将输出变量保留为默认值。 出现神秘错误!
当按下“检查工作流程”按钮时,没有任何反应。 根本没有出现任何消息框。 步骤面板中的警告图标仅指出存在一些错误,并未具体说明错误是什么。
此外,当我在创建数据对象后再次单击该数据对象时,它不会使用旧值填充表单。 它返回到没有字段的默认名称。 所以这里肯定有问题。 我已将问题范围缩小到数据对象,但我不知道该怎么办。
工作流的行为与其他活动的正常情况一样。 例如,删除“收集数据”操作并添加“发送电子邮件”操作,即可成功编译并运行。
I'm a student in a SharePoint class online. This problem has riddled everyone I've discussed it with, including the teacher. There seems to be some sort of problem when I create a workflow with the collect data action. I can create workflows that send e-mails and use the other actions just fine. What could be causing this problem?
My reproduction steps are simple:
Create a new Site Collection with the Blank Site template.
Create a new Custom List.
In SharePoint Designer, start a new workflow on the Custom List.
Add the collect data action to the workflow.
Set the user to the one that created the task.
Set the data to anything. A single check box, a string, Choice, doesn't matter.
Leave the output variable as default.
Mystery error appears!
When the Check Workflow button is pressed, nothing happens. No message box appears at all. The warning icon in the Steps panel merely points out that there are some errors, it isn't specific as to what they are.
Additionally, when I click on the data object again after it's been created, it doesn't populate the form with the old values. It goes back to the default name with no fields. So there's definitely something going wrong here. I've narrowed the problem down to the data object, but I don't know what to do about it.
The workflow acts like normal for other activities. For example, delete the Collect Data action and add a Send Email one instead and it compiles and runs successfully.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题的具体原因现在可能永远是个谜。 我清理了整个 SharePoint 安装并重新构建了它。 不久之后,我按照重现步骤制作了一个功能正常的工作流程。 这不完全是我正在寻找的解决方案,但我不能永远花在这上面。
The specific cause of the problem may forever be a mystery now. I scrubbed the entire SharePoint install and re-constructed it. Shortly afterwards I followed the repro steps and made a functioning Workflow. Not exactly the solution I was looking for, but I couldn't spend forever on this.