Re: [rules-users] How to read XML using XMLPackageReader-Drools-compiler.5.2.1.final?

2014-07-24 Thread abhinay_agarwal
Though the post is very old, it may help someone to know the solution public static void XMLtoDRL() { try { PackageBuilderConfiguration conf = new PackageBuilderConfiguration(); final XmlPackageReader xmlPackageReader = new

Re: [rules-users] pre-load rules and performance

2014-02-24 Thread abhinay_agarwal
I don't understand what is the problem in this scenario. You can always fire one set of rules, in the same agenda group. -- View this message in context: http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028265.html Sent from the Drools: User forum mailing list

Re: [rules-users] Seting up test scenarios for Excel Decision Table with a map of data coming in

2014-02-06 Thread abhinay_agarwal
Hi Laune, When you say /If you can insert data for the declared incomingData and make a rule fire for each fact, the consequence could create the map from the fields of the incomingData fact and insert it/ I don't understand, how will the map be created automatically. Can you give an example or

Re: [rules-users] Seting up test scenarios for Excel Decision Table with a map of data coming in

2014-02-06 Thread abhinay_agarwal
ahh.. now I get it. You just wanted the map to be created and inserted through the rules itself. :) -- View this message in context: http://drools.46999.n3.nabble.com/Seting-up-test-scenarios-for-Excel-Decision-Table-with-a-map-of-data-coming-in-tp4027995p4028007.html Sent from the Drools:

Re: [rules-users] infinite loop rule execution

2014-02-05 Thread abhinay_agarwal
You can either break down the big hash maps and use different classes instead of it or You can change your conditions, so as whenever the hashMap changes, only the rule that is to be fired gets fired. -AA -- View this message in context:

Re: [rules-users] Seting up test scenarios for Excel Decision Table with a map of data coming in

2014-02-05 Thread abhinay_agarwal
/We would like to create a test scenario for each decision table (job type) which have varying number of condition columns, which contain between 5 to 25 different conditions./ This is pretty easy stuff, if you are using guvnor, you can directly create a test scenario inside the package where the

Re: [rules-users] drools-examples zip file location?

2014-02-05 Thread abhinay_agarwal
you can download the examples from https://github.com/droolsjbpm/drools/tree/master/drools-examples https://github.com/droolsjbpm/drools/tree/master/drools-examples or you can find them inside examples folder of drools-distribution-6.0.1.Final

Re: [rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

2014-01-13 Thread abhinay_agarwal
Hi mike, I am using advanced enum concepts, and my drop down values from the database for a field lets say location. When i use simple rule, it works fine. But, lets suppose I have a rule in which I have to find if a particular string is inside location. LOCATION like %USA%; So inside guvnor i

Re: [rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

2014-01-13 Thread abhinay_agarwal
My data is getting loaded from Database, so I may not be able to alter the enum. I guess this is the limited scope of the tool. Anyways, this is a good functionality that can be added to the tool :) Thanks, Abhinay -- View this message in context:

Re: [rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

2014-01-13 Thread abhinay_agarwal
I want the rules to be written by the business users, not by the developers. In my scenario, the developers have no idea about the conditions that the business user may write. Regards, Abhinay -- View this message in context:

Re: [rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

2014-01-13 Thread abhinay_agarwal
Hi Steve, I don't see the point how this would resolve my issue ? Suppose I have name and i have few data in database as John, Frank, Joseph, John Mc Guin. Now, to make work easy for business users and to be sure they don't make a mistake, I want to provide these data as enums in guvnor. So,

[rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

2014-01-11 Thread abhinay_agarwal
Heya, Is it possible to use both drop downs and text field for the same field in guvnor. For what I see now, is once I have made an enumeration for a field of a fact, I am bound to choose values from the drop down, which makes it difficult to use functionality of matches and using *. in guvnor.

Re: [rules-users] Using Advanced Enumeration Concepts in guvnor

2014-01-08 Thread abhinay_agarwal
Hi Stephen, One quick question, what is the best approach to add these java classes into guvnor. I am able to work it out by adding the class files into the WEB-INF/classes folder. Is there any other easy way out, because I will be adding a lot of files. The properties file, if used, should also

Re: [rules-users] Using Advanced Enumeration Concepts in guvnor

2014-01-08 Thread abhinay_agarwal
Hi Mantis, Can't I establish a database connection for enumerations and authentication in guvnor, without making any code change in the war ? Because, code change always makes the application less stable and is less preferred. So, it would be great if these functionality are provided before hand

[rules-users] Using Advanced Enumeration Concepts in guvnor

2014-01-07 Thread abhinay_agarwal
The following sentences are taking directly from the user guide: / 'Person.age' : (new com.yourco.DataHelper()).getListOfAges() This assumes you have a class called DataHelper which has a method getListOfAges() which returns a List of strings (and is on the classpath). You can of course mix

Re: [rules-users] Using Advanced Enumeration Concepts in guvnor

2014-01-07 Thread abhinay_agarwal
Why doesn't this approach work in 5.5 ? -- View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563p4027567.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] drools migration

2013-07-02 Thread abhinay_agarwal
Have you checked that the jars have been downloaded in your local repository ? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-migration-tp4024691p4024707.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] How to match a string in LHS ?

2013-06-05 Thread abhinay_agarwal
AFAIK, you would like to match the string ok with someother string. I don't see any other string here. Can you be a bit more clear with your question.. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/How-to-match-a-string-in-LHS-tp4024157p4024158.html Sent from the

Re: [rules-users] Url Resource Guvnor connection + ProtocolException

2013-06-05 Thread abhinay_agarwal
Is there a way to shut down the basic authetiaction that guvnor asks for in 5.5.0 Final. I know this was not mandatory prior to 5.4.0. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Url-Resource-Guvnor-connection-ProtocolException-tp4024145p4024159.html Sent from the

Re: [rules-users] Guvnor-5.5

2013-06-05 Thread abhinay_agarwal
hey steve, Yes the 5.3 works perfectly with was 7, just a few warning, but works fine. 5.3 has problem running on was 8. 5.5 has problem running on all WAS servers. never tried 6. Regards, Abhi -- View this message in context:

[rules-users] Error during fetching rules via REST API

2013-05-30 Thread abhinay_agarwal
Hi, I am trying to access guvnor(on tomcat) through my application(on websphere) through a rest API call using HttpURLConnection, but when i use connection.connect(); it throws me the following error. Any idea about this error or which jar might I be missing, java.lang.NoClassDefFoundError:

[rules-users] Reading a Guvnor PKG from drools API

2013-05-22 Thread abhinay_agarwal
Hey, I was trying to read a package(ResourceType.PKG), which i downloaded from Guvnor, using KnowledgeBuilder, but I consistently get the following error while trying to access the file. Here's my code and the error, **Code** KnowledgeBuilder kbuilder =

Re: [rules-users] Reading a Guvnor PKG from drools API

2013-05-22 Thread abhinay_agarwal
Yes, all the jars are just fine, the above code works perfectly if I just replace the ResourceType.PKG to ResoureType.DRL, but dunno why PKG doesnt works. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Reading-a-Guvnor-PKG-from-drools-API-tp4023921p4023924.html Sent

Re: [rules-users] Reading a Guvnor PKG from drools API

2013-05-22 Thread abhinay_agarwal
I got the problem, if I Download the source of a package then it returns the DRL file of the package and hence the resource type is PKG. While if i download the binary form then the file contains the actual package and hence the .PKG works here. Abhi -- View this message in context:

Re: [rules-users] error while deploying drools guvnor 5.5 on was8

2013-05-21 Thread abhinay_agarwal
Were you able to run it successfully ? -- View this message in context: http://drools.46999.n3.nabble.com/error-while-deploying-drools-guvnor-5-5-on-was8-tp4023627p4023894.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] Deployment on websphere

2013-05-20 Thread abhinay_agarwal
Can you please tell me if I am installing guvnor-war through administrative console, then what I am supposed to write in JNDI name. I am not using database to store my rules/repostory, they are stored by default as objects. http://drools.46999.n3.nabble.com/file/n4023890/Untitled.jpg -- View

[rules-users] Jboss Business Rules Management System (BRMS)

2013-05-17 Thread abhinay_agarwal
May I know which version of drools is bundled in Jboss Business Rules Management System (BRMS) ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870.html Sent from the Drools: User forum mailing list archive

Re: [rules-users] Jboss Business Rules Management System (BRMS)

2013-05-17 Thread abhinay_agarwal
The latest one is 5.3.1, I guess. You can tell me about 5.3.0/5.3.1. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870p4023874.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Jboss Business Rules Management System (BRMS)

2013-05-17 Thread abhinay_agarwal
I am sorry I wanted to know about guvnor version, which version of guvnor do i get ? -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870p4023875.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Using Java Rule Engine JSR-94

2013-05-16 Thread abhinay_agarwal
Hey, I read about JSR-94 and found it quite useful, so was trying to do a POC on its usage. These are the steps which i followed. 1. Made a new java application. 2. Added the JSR-94 api jars in its build path. 3. Made a rule as myRuleFile.drl 4. Wrote a RuleAdapter class as shown in drools

Re: [rules-users] Using Java Rule Engine JSR-94

2013-05-16 Thread abhinay_agarwal
you mean to say, if i switch the api, I ll have to rewrite all my DRL files/ the rules i have in guvnor ? Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Using-Java-Rule-Engine-JSR-94-tp4023852p4023859.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Deployment on websphere

2013-05-14 Thread abhinay_agarwal
I get that, ll try to resolve dependencies myself. Thanks for the help though. -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4023809.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-05-14 Thread abhinay_agarwal
No help. It throws me the same exception SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. java.lang.RuntimeException: KnowledgeAgent

[rules-users] Unexpected, Unclear, Unperiodic error

2013-05-14 Thread abhinay_agarwal
I have a piece of code which builds the kbase, when i run it from my local system as a java application with guvnor deployed, the code works fine. When i try and access from the admin module, it calls the same method readKnowledgeBase(), it works. But, when i call the same piece of code (the

Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-05-14 Thread abhinay_agarwal
Hey David, I have already done that, look at the code that m using. For your reference: KnowledgeAgentConfiguration kaconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration(); kaconf.setProperty( drools.agent.scanDirectories, false );

[rules-users] Deployment on websphere

2013-05-13 Thread abhinay_agarwal
Has any1 sucessfully deployed Guvnor 5.4.x or later on webspehere 7 or later. Please reply. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Deployment on websphere

2013-05-13 Thread abhinay_agarwal
Did you make any changes in the war ? Coz I am having a 5.5.1- Snapshot war, and no matter what i do, I doesnt get deploy on was 7. So, i have asked to install was 8.0. May I know if I need to make any changes to the tomcat-6.0 war, provided by guvnor before deploying ? Thanks, Abhinay --

[rules-users] Simple Query about deployment of Guvnor on Websphere

2013-05-10 Thread abhinay_agarwal
My trying to deploy guvnor 5.5.1 snapshot on Websphere 7.0, websphere on Resource environment entry references asks me to enter a Target Resource JNDI Name . Now, coz I am not using any DB for my guvnor, what should I enter here ? I apologise, if my question is too novice. Thanks, Abhinay --

[rules-users] Deploying guvnor 5.5.1 Snapshot on websphere AS 7.0

2013-05-09 Thread abhinay_agarwal
While Deploying guvnor 5.5.1 -Snapshot on websphere 7.0 i am getting the following error [5/9/13 12:11:18:521 IST] 0007 AdminHelper A ADMN1009I: An attempt is made to start the drools-guvnorEAR application. [5/9/13 12:11:18:568 IST] 0007 CompositionUn A WSVR0190I: Starting

Re: [rules-users] How to write Hibernate query lang(HQL) in .DRL file

2013-05-09 Thread abhinay_agarwal
Hi, please visit the below link http://magazine.redhat.com/2008/07/11/jboss-drools-meets-hibernate/ Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/How-to-write-Hibernate-query-lang-HQL-in-DRL-file-tp4018571p4023747.html Sent from the Drools: User forum

Re: [rules-users] Use of the binding variable

2013-05-09 Thread abhinay_agarwal
Hi, Can you please elaborate your query about :=? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-the-binding-variable-tp4023744p4023748.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Agenda-group in fact insert time

2013-05-09 Thread abhinay_agarwal
This thing even happens when we are trying to call a function in the when part. Even though the rule doesnt gets fired, the function is called and the logic inside it gets executed. Regards, Abhinay -- View this message in context:

Re: [rules-users] Deploying guvnor 5.5.1 Snapshot on websphere AS 7.0

2013-05-09 Thread abhinay_agarwal
Any idea about why this error is occuring : CWNEN0044E: A resource reference binding could not be found for the BeanManager resource reference, defined for the JBoss Guvnor for Drools component. -- View this message in context:

Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-04-30 Thread abhinay_agarwal
Taking the question to Top of the list Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490p4023590.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-04-23 Thread abhinay_agarwal
hi, I was recently trying to create a kbase using UrlResource instead of using changeset.xml. So, I wrote the following code : KnowledgeAgentConfiguration kaconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration(); kaconf.setProperty( drools.agent.scanDirectories,

Re: [rules-users] How can we import a jar of POJO clases with Guvnor 6.x

2013-04-18 Thread abhinay_agarwal
hi, is it diff in 6.x, from the earlier versions ? Regards, Abhi -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-How-can-we-import-a-jar-of-POJO-clases-with-Guvnor-6-x-tp4023392p4023394.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Rule-Id for a Drools Rule

2013-04-10 Thread abhinay_agarwal
hi mike, Here is a scenario, Lets say I have rules named rule1, rule2 inside guvnor. I am extracting the rule names using REST api, pointing to some url http://../package/packageName/assets. I need the rule names in my application, so I have kept the rule names in my DB. If tomorrow I need to

Re: [rules-users] Rule-Id for a Drools Rule

2013-04-09 Thread abhinay_agarwal
is there a way to maintain an ID ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p4023259.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] Rule-Id for a Drools Rule

2013-04-09 Thread abhinay_agarwal
I wasn't aware of the fact that people use something else other than nabble. Will keep in mind from next time and put my question more clearly. My question is, I know there is a UUID for everything that is created in guvnor. But, is the UUID, created duration an asset creation, unique, and does

Re: [rules-users] Error using 5.5.1 built with 5.5.0 Final jars

2013-04-09 Thread abhinay_agarwal
Thanks steve, your trick helped. I searched through some jars and luckily, found that the problem was because of the drools-core-5.5.1 jar, replacing which made the whole thing worked. Abhinay -- View this message in context:

[rules-users] Formula in action column - Guvnor 5.5.1

2013-04-08 Thread abhinay_agarwal
Is formula not available for action column in 5.5.1 ? Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Formula-in-action-column-Guvnor-5-5-1-tp4023246.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Error using 5.5.1 built with 5.5.0 Final jars

2013-04-08 Thread abhinay_agarwal
M getting the following error when i try to connect to guvnor repository, is this because of the jar conflict or the problem is something else ? Caused by: java.io.InvalidClassException: org.drools.rule.constraint.MvelConstraint; local class incompatible: stream classdesc serialVersionUID =

Re: [rules-users] Error using 5.5.1 built with 5.5.0 Final jars

2013-04-08 Thread abhinay_agarwal
i downloaded the drools-distribution-5.5.1-20130408.101252-201 and applying the jars into the project doesn't help.Shows the same error :( -- View this message in context: http://drools.46999.n3.nabble.com/Error-using-5-5-1-built-with-5-5-0-Final-jars-tp4023247p4023249.html Sent from the

Re: [rules-users] Error using 5.5.1 built with 5.5.0 Final jars

2013-04-08 Thread abhinay_agarwal
I downloaded the guvnor-distribution-5.5.1-SNAPSHOT from https://hudson.jboss.org/hudson/job/guvnor-5.5.x/ which mike provided me. I wrote rules into it, build the package and created a snapshot. Now, i want to fire those rules from my project in eclipse,using changeset, i do understand a drools

Re: [rules-users] Fetching Rule Name from Guvnor based on category

2013-04-03 Thread abhinay_agarwal
Can i do it using the rest api ?? I am not familiar with web services, any help would be great.. I am using something like this : WebClient client = WebClient.create(http://localhost:8080/;); List list = client.path(guvnor-5.4/rest/categories/).accept(application/json).get(List.class); and I

Re: [rules-users] guvnor 5.5 problems on Internet Explorer

2013-04-03 Thread abhinay_agarwal
Hi Mike, I have raised a JIRA for the issue https://issues.jboss.org/browse/GUVNOR-2005 Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/guvnor-5-5-problems-on-Internet-Explorer-tp4022207p4023189.html Sent from the Drools: User forum mailing list archive

[rules-users] Fetching Rule Name from Guvnor based on category

2013-04-02 Thread abhinay_agarwal
I know i can fetch a KnowledgePackage from GUVNOR with the help of changeset and then find the rule names from them. Is it possible to find the categories and the rules associated with it? Regards, Abhinay -- View this message in context:

Re: [rules-users] Can an Object inside a map be used in guvnor

2013-04-02 Thread abhinay_agarwal
Can i use a free form DRL in Web Guided Editor (Decision Table) ? If yes, then how ? -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4023153.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Not Able to create a condition BRL fragment

2013-04-02 Thread abhinay_agarwal
In addition to it business rules using Guided editor are also not getting created. -- View this message in context: http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-tp4022188p4023154.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] guvnor 5.5 problems on Internet Explorer

2013-04-02 Thread abhinay_agarwal
Is there a work around for this and this http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-td4022188.html . ? Does 5.6 snapshot on github have the fixes ? Regards, Abhinay -- View this message in context:

Re: [rules-users] Guvnor + Oracle 10g

2013-04-01 Thread abhinay_agarwal
Actually the error is different .. SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: repositoryConfiguration at

Re: [rules-users] Use of contains operator in DRL Guvnor

2013-03-26 Thread abhinay_agarwal
hi, I am afraid but you will have to use free form DRL for your purpose. For some other workarounds, the experts can guide you better. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-contains-operator-in-DRL-Guvnor-tp4023036p4023049.html Sent from

Re: [rules-users] Use of contains operator in DRL Guvnor

2013-03-26 Thread abhinay_agarwal
I have never been able to use it. Is it documented somewhere ? -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-contains-operator-in-DRL-Guvnor-tp4023036p4023052.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Can an Object inside a map be used in guvnor

2013-03-22 Thread abhinay_agarwal
Experts...any threads for this ?? -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4022980.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] Structuring rules in Drools

2013-03-22 Thread abhinay_agarwal
As long as you are adding your DRL files to the KBUILDER, it doesnt matter to drools, whether the rules are in the same DRL file or different ones. The rules will fire depending on the facts, irrespective of the file they are in. Regards, Abhinay -- View this message in context:

Re: [rules-users] Can an Object inside a map be used in guvnor

2013-03-22 Thread abhinay_agarwal
Hi Mike, Thanks for the fast reply, I was aware of the free form DRL(I am using right now in the same way). Still, the template key is a new thing. Seems, it might come handy incase of templates and decision table. Can you please provide some more inputs on its usage with decision table or any

Re: [rules-users] Can an Object inside a map be used in guvnor

2013-03-22 Thread abhinay_agarwal
Hi Aditi, As already said by Stephens in your previous post Collections are Core Java classes, you just have to import them in guvnor to use them. You can import java.util.HashMap in your package edit section and make rules using them. Then, you can insert HashMap(with values), as you insert

[rules-users] Guvnor + Oracle 10g

2013-03-22 Thread abhinay_agarwal
hi , I was trying to connect my guvnor to oracle 10g database, but somehow i get the following error when i try to redploy guvnor after pasting the repository.xml. Any idea what this can be ? SEVERE: Exception while dispatching incoming RPC call

Re: [rules-users] Guvnor + Oracle 10g

2013-03-22 Thread abhinay_agarwal
hi mike, Done that still of no use ! -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Oracle-10g-tp4022991p4023006.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Importing existing drl into Guvnor

2013-03-21 Thread abhinay_agarwal
AFAIK, you must be having a requirement of firing specific rules under specific conditions.. How can you have a requirement of building specific rules ?? Regards, Abhinay -- View this message in context:

Re: [rules-users] Importing existing drl into Guvnor

2013-03-21 Thread abhinay_agarwal
please read more about salience and agenda-group. These are used to have control over firing rules, and both the features are available in guvnor :) -- View this message in context: http://drools.46999.n3.nabble.com/Importing-existing-drl-into-Guvnor-tp4022836p4022961.html Sent from the

Re: [rules-users] Structuring rules in Drools

2013-03-21 Thread abhinay_agarwal
Hey Sandra, Basically, if your question is can rules interact, I would say yes, but not in the general method like functions do i.e. calling one rule from another. Some basic things that can be done to initiate interaction is : 1. Facts inside one rule can be changed such that the next rule's

Re: [rules-users] How to import drl files to Guvnor

2013-03-20 Thread abhinay_agarwal
The drools download provides us with a Drools and jBPM tools which is a plugin for integrating your drools and jbpm. You can download it from the drools official site and install it in eclipse as a plugin is installed. It contains the drools runtime, jbpm process creation and guvnor repository

Re: [rules-users] Embedding Guvnor

2013-03-20 Thread abhinay_agarwal
What I can guess is, instead of embedding the url inside the frame of your website, you have,by mistake, asked to forward to another url. So whenever somebody types

Re: [rules-users] Importing existing drl into Guvnor

2013-03-20 Thread abhinay_agarwal
hi, i dont think guvnor allows you to build specific rules. On the other hand, i don't understand why would you want to build specific rules. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Importing-existing-drl-into-Guvnor-tp4022836p4022955.html Sent

Re: [rules-users] How to import drl files to Guvnor

2013-03-19 Thread abhinay_agarwal
Drools provide us with a drools-jbpm integration plugin, in which there is an option of guvnor repository. you can provide the link to your guvnor repository. Once that is done, you can right click on your DRL file - Guvnor - Add - Select the package and you are good to go :) -- View this

[rules-users] Can an Object inside a map be used in guvnor

2013-03-19 Thread abhinay_agarwal
For example, I have a HasMap MapString, Integer map = new HashMapString,Integer(); map.put(amount,12); My DRL is as follows : when $h : HashMap(this[amount]!=null) then //something or when $h : HashMap(this[amount] 10) then //something i just want the object

Re: [rules-users] Inserting Different Objects Of Same Class !

2012-11-27 Thread abhinay_agarwal
So i can consider that there is no other way out :( Neways, Thanks for the quick replies ! You guys rock ! -- View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020976.html Sent from the Drools: User forum mailing list archive

Re: [rules-users] Inserting Different Objects Of Same Class !

2012-11-27 Thread abhinay_agarwal
Tnxx Laune, i ll have a look to it !! Tnxx Greg, things are more clear now ! -- View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020993.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Inserting Different Objects Of Same Class !

2012-11-26 Thread abhinay_agarwal
hey, I have 3 different ArrayList which i need to populate under different circumstances. I can insert 3 different arraylist(differentiated by there names) but in drools enviroment, how m i suppossed to differentiate them?? Regards, Abhinay -- View this message in context:

Re: [rules-users] changeset.xml issue while accessing gurvor rule package

2012-10-19 Thread abhinay_agarwal
in my xml there is no ' after xs:schemaLocation='http://drools.org/drools-5.4/change-set' and before 'http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' its plain change-set xmlns=http://drools.org/drools-5.0/change-set;

Re: [rules-users] firing rules twice in single session on single object

2012-10-12 Thread abhinay_agarwal
Hey sai, First of all make sure whether you will be having a list of objects containing salesAmount or list of salesAmount. If you are having a list, then your list should also be present in the WHEN condition, such that when the state of your list changes then the rule gets fired !! Regards,

Re: [rules-users] firing rules twice in single session on single object

2012-10-11 Thread abhinay_agarwal
hi sai, AFAIK whenever you change/modify anything inside a FACT, the rule using the FACT will get refired again. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-firing-rules-twice-in-single-session-on-single-object-tp4020220p4020222.html Sent

Re: [rules-users] firing rules twice in single session on single object

2012-10-11 Thread abhinay_agarwal
If you want the same rule to fire again and again then just modify the fact such that the WHEN condition is satisfied. For example in the HELLO WORLD sample Code : rule Hello World no-loop when m : Message( status == Message.HELLO, myMessage : message ) then

[rules-users] Complicated Issue

2012-10-09 Thread abhinay_agarwal
hey, M using guvnor 5.3.0 Final version and two instances of guvnor. In my first guvnor application, i ve two packages containg all my rules which i am accessing using drools core and knowledge api v5.2.0 Final .I use type DRL to extract rules from my change set. In my second guvnor

Re: [rules-users] Complicated Issue

2012-10-09 Thread abhinay_agarwal
Thanks for the quick reply Mike.. as you can see, now i am using compatible versions i.e. drools expert v5.4.0 Final and so as GUVNOR 5.4.0 Final.. Y do i still get this error ?? -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020177.html Sent

Re: [rules-users] Complicated Issue

2012-10-09 Thread abhinay_agarwal
i have been using java 6 from the start.. -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020179.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Complicated Issue

2012-10-09 Thread abhinay_agarwal
the process was also compiled with 1.6 -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020181.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Complicated Issue

2012-10-09 Thread abhinay_agarwal
hey mike.. i found the issue..my jboss was working on jboss 1.7.. now as i fixed it..evrything is working fine.. tnxx a lot !! -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020182.html Sent from the Drools: User forum mailing list archive at

[rules-users] Guvnor Integration with Eclipse Issue !!

2012-07-26 Thread abhinay_agarwal
hey der ! m currently using GUVNOR v5.3.0 i made some DRLs in my Eclipse loaded them to Guvnor repository and after loads of changes..i was finally able to build my kbase using the repositoy.. my change set is as foolows : *?xml version=1.0 encoding=UTF-8? change-set

Re: [rules-users] Guvnor Integration with Eclipse Issue !!

2012-07-26 Thread abhinay_agarwal
i would also like to know if there can be any jar issue's .. i m using drools plugin 5.4 Final in eclipse and Guvnor v is 5.3.0 Final please lemme know (in details), the reason behind KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage error !!! I read one of mike's

Re: [rules-users] Guvnor Integration with Eclipse Issue !!

2012-07-26 Thread abhinay_agarwal
hey mike, thankz for the reply.. but i m using the plugin which yu supplied..i need a plugin for GUVNOR v5.3.0 Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Integration-with-Eclipse-Issue-tp4018919p4018925.html Sent from the Drools: User forum

Re: [rules-users] Guvnor Integration with Eclipse Issue !!

2012-07-26 Thread abhinay_agarwal
i cannot upgrade to guvnor 5.4... need pluging for guvnor 5.3 final -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Integration-with-Eclipse-Issue-tp4018919p4018928.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Using Global Model for all packages

2012-07-24 Thread abhinay_agarwal
Even i had the same and it doesnt get resolved in 5.4 even !! reference : http://drools.46999.n3.nabble.com/Import-into-specific-package-GUVNOR-help-td4018325.html#a4018328 http://drools.46999.n3.nabble.com/Import-into-specific-package-GUVNOR-help-td4018325.html#a4018328 -- View this

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
http://drools.46999.n3.nabble.com/file/n4018799/Untitled.png y m i getting *Error: unable to resolve method using strict-mode: org.drools.spi.KnowledgeHelper.$cc()]* error... my $cc is binded with a Customer().. how can i do this in the condition column of a decision table: rule my rule when

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
hi mike, actually i have values in my $cc from previous rule so i dont want to insert new fact.. can yu give me a way to achieve it !?? regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018802.html Sent from the Drools:

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
m using 5.3 :( -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018803.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
thankz mike, not equal to null helped !! can yu suggest me a way of using setFocus() in DT ? -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018806.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
hey mike, not equal to null helped... might be i was using Customer with 'this' and was not passing any value,so the error was cropping up !! thanks a lot..and yeah i ll read about rule templates from doc and try it out..thankzz a ton !! regards, Abhinay -- View this message in context:

Re: [rules-users] Guvnor integration GLOBAL/Remote HTTP resource caching error !!!

2012-07-19 Thread abhinay_agarwal
making my question more precised : why do we get Server returned HTTP response code: 401 for URL: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual/LATEST at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) error ?? -- View

  1   2   >