|
When building a RuleSet from within Visual Studio I'm getting an error when trying to call a method on my Workflow. I'm validating an incoming message, and need to call a method which adds additional information to the incoming message and validates various business rules. When I add a rule action which looks like:
this.AddBrokenRule(this.Request.Employee, "First Name is Required", "FirstName")
I get the following error from the rule designer:
Error Parsing the Action(s): Object reference not set to an instance of an object.
The error arises when there are overloaded versions of the associated function available. When I start building the statement, the Intellisense properly identifies the 3 overloads of the function, but it seems unable to use any of the overloads. If I rename the functions such that each has a unique name, it seems to work properly.
Thanks!
|