Welcome Guest Search | Active Topics | Members | Log In | Register

Export to WFRules - incomplete Options · View
nfogel
Posted: Monday, January 19, 2009 2:07:03 AM
Rank: Newbie

Joined: 1/18/2009
Posts: 4
I created a rule base with 2 concepts - Student and Grade and with two rulesets, each bound to a different concept.
When I export to WFRules, the created C# code contains just one BusinessModel file - Subject.cs (and not the name of any of my concepts). And the code generated in this file contains the class representation of just one of the concepts in the rule base.
support
Posted: Monday, January 19, 2009 8:13:03 AM
Rank: Advanced Member

Joined: 2/13/2007
Posts: 69
Location: Los Angeles
The generated Subject.cs file does contain one of your specified concepts. It's just that the name of the file is called Subject.cs. But the generated class itself is correct. The second concept is indeed missing.

Note that both rulesets are properly generated in the root of your exported solution: GradeRules.rules and StudentRules.rules

The limitation you run into is that currently we only export one Rule Policy (ruleset) as an executable example.
But we assume that you will have to do some integration of the generated code with your current system.
The 'Engine' project example should make this straightforward.

Note that if you use the SchemaImport adapter you will reference your own imported class in the Engine project. The binding to the rule policy is in that case to an instance of an object from the class you imported.


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.

Main Forum RSS : RSS

Acumen Theme Created by (ProjectRem)
Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.



Copyright 2007 Acumen Business