工作流程错误“工作流程验证失败。”
我有一个带有策略规则的顺序工作流程。 当我从客户端运行时,出现以下错误: “工作流程验证失败。” 活动“policyActivity1”验证失败:找不到规则集“规则集1”。 检查规则文件中是否定义了规则集。 谁能指出我正确的方向......
I have a Sequential workflow with a Policy Rule . When I run from the client, I get the following error:
"The workflow failed validation."
Activity 'policyActivity1' validation failed: Can not find the rule set "Rule Set1". Check if rule set is defined in the rules file.
Can anyone point me in the right direction....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用控制台客户端创建了一个顺序工作流项目,而不是库项目。 删除了 Program.cs 文件,发现库项目和我创建的新项目之间的唯一区别是新项目在设计器文件中包含此工作流程,而库文件处理 xoml 文件。 这解决了我的问题......
I created a Sequential Workflow project with the Console client, not a library project. Deleted the Program.cs file and found that the only difference between the library project and the new one I created was that the new one had this Workflow in a designer file while the library file dealth with xoml file. This fixed the problem for me....