I am currently trying to work with NxBRE rule engine https://github.com/ddossot/NxBRE
What I am trying to do is to create a rule in .XBRE file in which I call a method in my .CS file with passing an object as argument(not primitive type like integer,string...).
I tried this: 1
my method is testChild and it's in FlowEngineExample.Program class, and takes as argument an object of type FlowEngineExample.Problem that i passed to the rule Context with ID Problem. But this doesn't work since argument only accept types like Integer,string ...
What do i have to do ??
Just use:
<Argument valueId="Problem"/>
to provide a reference to the context ID Problem
.