Questions tagged [jrules]

JRules is a business rules management system used to create, run and govern rule-based applications.

JRules is a business rules management system used to create, run and govern rule-based applications. It was created by ILOG which was acquired by IBM.

99 questions
0
votes
3 answers

ILog ODM 8.0.1 : Loggging a name Rule in execution

I want to log the name of rule, the problem : How to get the rule name in XOM? OR Can I inject a code before execute the rule?
0
votes
2 answers

how to deploy a ruleApp contains xom that based on java jars to ilog execution server

I have an ilog jrules execution server 7.1 installed. and I want to deploy a ruleApp that contains xom based on java jars. I don't know where can I package my resources jar for the ilog server? when i deploy it from the rule designer it doesn't…
Brachi
  • 637
  • 9
  • 17
0
votes
3 answers

ILOG dynamic ruleset

public void executeRules(IlrRule[] rules){ IlrRuleset rulesetNew = new IlrRuleset(); IlrContext ctxt = new IlrContext(rulesetNew); IlrTask task = ruleset.getTask("ExecFlow#exe"); IlrRuleTaskRunner runner =…
0
votes
2 answers

Finding negative numbers in a field in ILog

I have a following requirement in Ilog Jrules, Having an Integer field that contains both positive and negative numbers. Requirement is to loop through the Integer field, find and remove the negative sign in the negative numbers. It sounds simple…
Techie
  • 71
  • 1
  • 11
0
votes
2 answers

How to set custom property to business rules in (ILOG) IBM ODM

I have a requirement to set a new property (example: unique ID) to each and every rule and access it from action part of the respective rules during the execution. For example: If the age of person is more than 18 then set the output to…
user2968583
  • 3
  • 1
  • 6
0
votes
1 answer

How to determine whether extensions have been made to JRules that won't be automatically converted to ODM?

I am facing an upgrade of the JRules 7.112 portion of our application to ODM 8.5. Unfortunately, the people who did the JRules work are no longer around, and we lack much in-house expertise. Migrating from JRules to ODM lists the steps that need to…
kc2001
  • 5,008
  • 4
  • 51
  • 92
0
votes
1 answer

IBM ODM aka iLog JRules Database query-based rule throwing NPE at execution time

I am trying to overcome a challenge arising from a specific requirement which necessitates a couple of rules query a database and return results according to values obtained from the SELECT statement. Although I know that it is not a "best practice"…
fledglingCoder
  • 402
  • 9
  • 24
0
votes
1 answer

How to get current time value in GMT in ILog JRule

I have a business requirement where I have to a take one action where current GMT time is between 3 to 11 else I have to take other action. One way to do is to take the current GMT time as input from the caller. I want to explore the possibility,…
Manu
  • 453
  • 2
  • 6
  • 15
0
votes
3 answers

how to validate ilog variables individually?

I am going to validate multiple objects but individually (one at a time) using ilog jrules. My current thought is wrap all items needs to be validated in a input param called "itemToValidate" as follows
0
votes
1 answer

What are the pros and cons of using JUnits for testing ILOG JRules over DVS?

I am new to the IBM rule designer. I have written some rule sets and now I want to test them. Would anyone be able to help me understand why or when to use DVS and when to use JUnits for testing?
zak
  • 15
  • 5
0
votes
2 answers

ilog jrules and database connection - Detailed explanation

I am using IBM ILOG JRules for doing a POC and I'm new to JRules. I have a business requirement in which: I will have the Document Classes with their properties in a database. In Rule Studio, I will create a Decision Table with the following…
0
votes
1 answer

Issue in running Debug mode in Rules Studio

I wrote a technical rule and would like to test this rule in debug mode. I am using JUnit test case for unit testing. i have deployed the ruleset in JUnit test project. I have set break points in technical rule. but while running in debug mode, the…
Lion
  • 23
  • 9
0
votes
2 answers

How to check the length of a number in JRules

I am new to JRules coding.It may looks like a simple question. I would like to check the length of an number in JRules code. How to write the code for that. "the length of" phrase is expecting a string. I tried to use toString() to convert the…
Lion
  • 23
  • 9
0
votes
3 answers

Calling Ilog Jrule Rules Execution server from java client

I am trying to execute a rule in IBM Jrule Rules execution server , using a java client. I am having Websphere community Edition V2.1 server, I am able call and execute the rules using JSF deployed in the samae server. I want to call and execute…
muthu vel
  • 119
  • 3
  • 14
0
votes
1 answer

java.lang.NoSuchFieldError returns when trying to create a stateless session to the Rules Execution Server

I am using Ilog JRules Studio 7.1.1 for the rules development. I am using JUnit test cases to test the developed rules. When i am trying to create a stateless session to the RES, it's returning with the below error. IlrStatelessSession session =…
Lion
  • 23
  • 9