Re: Using .NET Assembly in Rules Engine

From: Jimmie (Jimmie_at_discussions.microsoft.com)
Date: 11/10/04


Date: Wed, 10 Nov 2021 01:10:01 -0800

Thanks! That was the missing piece of information I needed. It now works as
expected.

Jimmie

"PBR" wrote:

> Jimmie,
>
> You have to make an object that implements IFactCreator in order to
> instantiate an instance of your object in the Rules Composer.
>
> -- PBR
>
> "Jimmie" <Jimmie@discussions.microsoft.com> wrote in message
> news:945D1B03-A9D1-4DF2-9BF7-328EE4DB1334@microsoft.com...
> > I created a .NET Assembly/method to provide a fact value in a rule
> predicate.
> > The method works correctly when tested in Visual Studio using a console
> > application to call the method.
> >
> > In the Business Rules Composer, the rule / condition that uses the .NET
> > Assembly in a predicate is not being evaluated; even though it appears the
> > fact is asserted / retracted when I test the policy. (No errors are
> reported
> > when I save / publish / test the policy and corresponding vocabulary.)
> >
> > Is there any trick to using a .NET Assembly in a predicate? I cannot find
> > any samples, and the documentation is rather sparse.
> >
> > Thanks!
>
>
>



Relevant Pages