Re: Using .NET Assembly in Rules Engine
From: Jimmie (Jimmie_at_discussions.microsoft.com)
Date: 11/10/04
- Next message: Hugo Rodger-Brown: "Re: File Input"
- Previous message: Bj?rn Jansson: "Simple(?) question: Copy instead of move"
- In reply to: PBR: "Re: Using .NET Assembly in Rules Engine"
- Messages sorted by: [ date ] [ thread ]
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!
>
>
>
- Next message: Hugo Rodger-Brown: "Re: File Input"
- Previous message: Bj?rn Jansson: "Simple(?) question: Copy instead of move"
- In reply to: PBR: "Re: Using .NET Assembly in Rules Engine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: Writing package log
... >> Am I missing something? ... It does not always instantiate on
the first try (inside ActiveX ... >In task ActiveX scripts, it is available as the DTSPackageLog
... > or negative number will log a failure type message, ... (microsoft.public.sqlserver.dts) - Invalid Class String - Win32::OLE
... I am trying to instantiate a COM component using Win32::OLE. ... It works absolute
fine for the first class, ... Dim objInitializer As New caliberrm.Initializer ...
What am I missing here? ... (comp.lang.perl.misc)