Questions tagged [codeeffects]

CodeEffects is one of the fastest and most intuitive XML-based .NET business rule engines out there. It implements a web-based rule editor and a lambda-based rule evaluation engine. Details can be found at CodeEffects.com/Doc. This tag should be used with questions related to any feature or use case of CodeEffects rules engine.

66 questions
1
vote
1 answer

Codeeffects - Cannot load rule on UI that has In Rule Method with more than 255 string parameter value

It seems that CodeEffect library 4.3.2.6 has an issue with rule XML editing ON UI and transformation back from stroage to show it on UI for editing when rule XML has In Rule method call with string parameter that has string value passed in longer…
Kaiovas
  • 11
  • 4
1
vote
1 answer

How to separate front-end and api rules with CodeEffects RuleEditor

I'm trying to develop a completely separate Front-End, with a Rule Editor. When I try to declare de rule editor in my MVC, the RuleEditor Builder needs the Rule Object, but I don't have access to this, because is declared in the API. Is it possible…
0
votes
0 answers

Code Effects: Create a custom Action that accepts an expression?

Is it possible to create a custom Action on my that accepts an expression like the built in Set method does? EX: public class EvaluatorClass { [Action] public void SetSomeThing(Expression myExpression) { var result =…
HisDivineShadow
  • 1,036
  • 1
  • 12
  • 21
0
votes
1 answer

How to access Method Names from source object in Rule Definition

In our implementation of the Rules Engine we have a test form similar to Rule Test Form on the online demo on "Business Rules Engine Demo". What we would like to do is conditionally show only the Test Fields for the items in use in the rule. We…
0
votes
1 answer

Can CodeEffects Client side api notify me when a value from a dynamic data source is selected

Per the latest answer here, it appears that "menu dependencies" have been abandoned. Is this true? As an alternative, is it possible, via the client-api to detect when the user has made a selection from one Dynamic Data Source so that I may manually…
kevcoder
  • 883
  • 1
  • 15
  • 29
0
votes
1 answer

How to compare a field in a collection to a field in the parent object

Using the Angular Demo from here, I added a collection of HospitalVisit objects and I wanted to answer the question, "has patient visited an out of state hospital". Ask you can see I can only compare the HospitalVisit.State field to a string,…
kevcoder
  • 883
  • 1
  • 15
  • 29
0
votes
1 answer

Our requirement is to fetch the data for code effects editor to be fetched from database using dotnetcore 3.0 and VueJs 2.0

We want to integrate code effects library in our project,We need the sample code for Vue.js 2.0 using typescipt and dotnet core 3.0. Our requirement is to fetch the data for code effects editor to be fetched from database. We noticed that the…
0
votes
1 answer

Decimals are not recognized as numeric values in CodeEffects RuleEditor

When running a local version of the CodeEffects rule editor I get an error message when I try to enter a decimal in the condition. In the angular example project I have updated the type of the pulse property to decimal? and why I try to enter a…
LAN
  • 55
  • 1
  • 9
0
votes
1 answer

CodeEffects RuleEditor doesn't display enum values if they are stored in a list

I have updated the code effects angular code example with a property on Patient that contains a list of enums [Field(DisplayName = "Favorite food", Description = "The patient's favorite food")] public List FavoriteFood { get; set;…
LAN
  • 55
  • 1
  • 9
0
votes
1 answer

CodeEffects RuleSets: which rules were applied?

I have 250 Execution rules. Today, I evaluate them 1 at a time in a loop in order. The first one that evaluates true stops the loop. I save off the result and which rule was used. I would like to use a ruleset for performance reasons. Is there a…
itsallyours
  • 168
  • 7
0
votes
1 answer

Doe Code Effect Rule Engine work persisted data?

Hello I stumbled into the Code Effects. The idea behind is very interesting to me, especially the Rule Editor. Would the engine work with the data that is already saved to a database through entity classes (referred as source objects in Code…
John
  • 691
  • 1
  • 8
  • 23
0
votes
0 answers

How to Dockerize CodeEffects Rules Engine Angular Implementation

We are using CodeEffects Rules Engine with Angular Implementation and trying to dockerize the application. But the build is throwing an exception; need help from this group in resolving the error. Below is my docker script and also attaching the…
user12133234
  • 371
  • 2
  • 5
  • 15
0
votes
1 answer

Create Contactor with paramater for ExternalAction

How I can create Contactor in code effect for ExternalAction , I have this code [ExternalAction(typeof(Service), "SendEmail")] And I want send email when success Evaluate but without write send code in SendEmail, I want use call interface to send…
Sam
  • 1
0
votes
1 answer

Is there a way to write nested if based on calculation in Codeeffects editor?

I have to create a business rule for the below set of conditions, due to the limitation of nested-if I am unable to write the below rule. Could you please suggest a workaround for the below scenario? please note that these numeric values could be…
0
votes
0 answers

HtmlHelper does not contain a definition for CodeEffects

I copy code from project to another project to use it in our project but I face issue in view , I get this error 'HtmlHelper' does not contain a definition for 'CodeEffects' and no accessible extension method 'CodeEffects' accepting a…
Satish
  • 1
  • 1