工作流程错误“工作流程验证失败。”

发布于 2024-07-30 17:21:21 字数 132 浏览 2 评论 0原文

我有一个带有策略规则的顺序工作流程。 当我从客户端运行时,出现以下错误: “工作流程验证失败。” 活动“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜警司 2024-08-06 17:21:21

我使用控制台客户端创建了一个顺序工作流项目,而不是库项目。 删除了 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....

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文