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
0
votes
1 answer

Using Ajax API for codeeffects

Can I using API restful to EvaluateRule without send ruleData, I want send objectVM in post API and loop in list of rules, without pass ruleData in API [HttpPost] public ActionResult EvaluateRule(Patient patient) { …
Sara
  • 1
0
votes
1 answer

Dynamic list as parameter in Action

How I can create Dynamic list as parameter in Action to use it in function after then [Action("Send Email", "Send Email")] public void SendEmail(CaseRequest caserequest, [Parameter(ValueInputType.User, Description = "Output message")]…
Sara
  • 1
0
votes
1 answer

How could I set a dynamic message through Rule editor?

I need to set a dynamic message based on the parameter fields value in the rule editor. for e.g If A < B or A > C then set Message to A value should be in between C and D
0
votes
1 answer

How do I filter the data source list based on property value defined in the rule if clause

How do I filter the source list based on property value defined in the rule if clause? for e.g, I bound the two properties with the data source list, 1st Property "Word" Bound with English Word/Arabic Word/Spanish Word. 2nd Property "Fee" Bound with…
0
votes
0 answers

After upgrading from v5.0.20.6 to v5.0.21.6 method names are replaced with token in XML document

Version 5.0.21.6 introduced a breaking change to the rule XML content. In version 5.0.20.6 methods are referenced by their names in the XML file as shown below: 1 But in version…
Wagner DosAnjos
  • 6,304
  • 1
  • 15
  • 29
0
votes
1 answer

How to use aggregate functions in CodeEffects Rule Editor?

Can anyone Please guide me how can I create an aggregator like SUM(), AVG() in Codeeffects RuleEditor. And these should be passed with set of integer values from the rule editor. Like if there is an attribute like score which is of int…
Akhil
  • 31
  • 6
0
votes
0 answers

FieldAttribute Group property does not work for collections

The FieldAttribute.Group property does not work when applied to a collection. In the example below, on the rules editor I get two menu items (group, OTHER). Under the group menu item I get MyField and under OTHER I get MyCollection and OtherField. …
Wagner DosAnjos
  • 6,304
  • 1
  • 15
  • 29
0
votes
1 answer

Is it possible to check if collection contains field value?

Given the simplified model below I want to write a rule that says MyCollection contains MyField, but all I get is the list of Data Source items to select as if the ValueInputType for collections only works for User. What should I change in the…
Wagner DosAnjos
  • 6,304
  • 1
  • 15
  • 29
0
votes
1 answer

Codeeffects internal error on GetClientSettings() when using Source XML without persisting the source

I'm trying to use Source XML (I have CodeEffects 5.0.12 Nuget in a ASP.NET Core 2.2 Project) without a known type at design time. So I set persisted="false" and type="" in the SourceXml. Everything works great with fields, but if I define a…
0
votes
1 answer

CodeEffects rule editor throws an exception "No method with "[NULL]" value of the "token" attribute found" while saving the rule

I am using the CodeEffects rule editor to create an editor which has dynamic actions and properties. Since the requirements are dynamic i used the FlexSource type option provided by CodeEffects in their document. But when i tried to save the rule…
0
votes
1 answer

Question on CodeEffects Rule Engine capabilities: client connected to remote business-rules server/engine

I am working on a .NET Core project where a client needs to connect to a remote business-rule server/engine, fire all or specific rules and get back responses. Like "kieserveradapter" (https://github.com/tenkyu/KieServerAdapter) that connects and…
nbellsp
  • 11
  • 3
0
votes
1 answer

Exclude recursive properties after 3 level from business rule engine

I'm using codeeffect for my business rule engine. I have a user class with manager property with user type. public class BasicUser { public int ID { get; set; } public string Name { get; set; } public BasicUser Manager { get; set; } } In the…
Fereshteh Rabet
  • 191
  • 2
  • 18
0
votes
1 answer

CodeEffects RuleEditor not rendering in MVC dialog

Currently we have a full page that renders the RuleEditor without issue in the view. I've ran into an issue in getting this to render properly on a dialog. I'm using the same exact logic to load the objects between the full view and the dialog…
0
votes
1 answer

Code effects business rules for windows application

Can I use code-effects business rules for Windows Applications or Console applications? I want to define the rules using the rule editor but want to execute those rules as a service.
0
votes
1 answer

CodeEffects: Load RuleEditor On button Click

Is it possible to load different partial views in my Index.cshtml that contains the CodeEffect().RuleEditor(). Thanks.