workflow - WF validation error at runtime -


I have two Workflow Foundation (.NET 3.5 SP 1) applications that compile exactly. It has two declaratory rule conditions. Both are very simple, examples:
-! this. Shut down - this.timetime == zero

This project makes no errors or warnings right, although when I fail the application with the exception, Error 1342: Activity 'NotShootdown' Verification failed: Can not find a "Shutdown Not requested" status

In another application, I am using another complex rule in the policy which generates the following exception: Error 1398: Activity 'Default' Verification Failed: Rule Set "Rule Set 1 "can not be found in the rule file or whether the rule set is defined.

I Tried to regenerate the rule by removing the file and rebuilding two rules and did not help with it.

The question is: What is wrong that causes this error?

Some things that I've tried:

  • Keeping workflow rules in large workflows does not make any difference to this issue
  • The problem is now resolved In all the workflow is affecting (even what they used to do).
  • The use of the code rule is not the same problem - this problem relates to the rule file.
  • Rebuilding workflow does not help

Declarative workflow rule compiler There is no help, so there is no help. When you refer to 'this' rule, it means that the workflow should be declared at the workflow level if your property shut down and runtime. I believe the runtime workflow refers to runtime and it is unusual, and is not recommended, to be inside your workflow, so there might be a design problem here.


Comments