eb, Did you find a nice way to get more data based on conditional results? we will need to make some http requests to get more data, where each request will cost us money, so we don't want to call it before any rule needs it. I was trying to make a jar with some methods that call those services, and using these methods on my rules, but maybe it wasnt the best choice, coz it seems to be locking threads.
We are executing rules in java on a springboot microservice by creating a single RuleEngineFactory in a component. Each time my service receive a request, we get a new instance of rules engine and invoke a method on it: Method method = ruleEngineFactory.getInterfaceClass().getMethod(rule); MyResultObject result = (MyResultObject) method.invoke(ruleEngineFactory.newEngineInstance()); In our logic we remove some objects from a list in the result object before return to client: result.getMyList().retainAll(myOtherList);...
I had some problems with rules that got overriden when my teammates uploaded a new version of their rules in the same project i'm working on. Whats the best way to avoid it? whats the common way to have many people working on same projects in OpenL? if i change one rule, and my teammate change another rule. When we both click Save button, will we lose any one of these rules?
You could use a spreadsheet rule, calling the first rule in the first step,...this will create a variable with the return and then you can call another rule in another step using this variable
I created a new project, made some SimpleRules and Spreadsheet and at some point this file become sort of corrupted. It works weel if i edit it in Excel and Upload it to webstudio, but if I try to Create a new table from webstudio, it says "Invalid row number (1048577) outside allowable range (0..1048575)". I tried to export and import this file in another webstudio (even in the public Demo webstudio) and always have this error to create new tables. Created a new file and copied the rules, and this...
I created a new project, made some SimpleRules and Spreadsheet and at some point this file become sort of corrupted. It works weel if i edit it in Excel and Upload it to webstudio, but if I try to Create a new table from webstudio, it says "Invalid row number (1048577) outside allowable range (0..1048575)". I tried to export and import this file in another webstudio (even in the public Demo webstudio) and always have this error to create new tables. Created a new file and copied the rules, and this...
Did you make something like that Aspect? it would be great if you could share some example with me. Do I have to generate a new WAR or i can still use it in openl tablets original one?
wooow, this seems to be what im looking for. Can you guide me on resources to implement thia Aspect thing in openl to log those decisions? really never heard about it