using custom business rule engine in conditions?

Jun 5, 2010 at 2:25 PM

Do you see some good way how to use a custom business rule engine in transitions conditions?

Jun 7, 2010 at 3:20 AM

The condition of Transition is an Activity<bool>. You could specify your own custom Activity<bool> in which you could invoke your rule engine.

Jun 7, 2010 at 3:47 PM

MisterNo -

One aspect to consider here is that a transition condition requires a single boolean value.

Often, a complex business rule set will result in a number of results - perhaps a claim was approved with a number of conditions attached.

If your business logic in the ruleset lends itself to using a single boolean value as a decision point, then you could resonably consider using that ruleset to drive a Transition.