Re: [rules-users] Remote debug as Drools App on Eclipse

2012-04-20 Thread rogelio_sevilla1
Just found my answer, it seems this feature is not even planned :( , hope to
see it included in the future.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Remote-debug-as-Drools-App-on-Eclipse-tp3924515p3926711.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Knowledge Agent subdirectry scanning

2012-04-20 Thread rogelio_sevilla1
Thanks for the answer mr. Laune, I have modified my project so that it stores
all my rules in a single folder,  hope this feature is added in the future.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Knowledge-Agent-subdirectry-scanning-tp3908482p3926696.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Sir, Seekin your's Help on Drool

2012-04-20 Thread Mark Proctor

On 18/04/2012 11:49, Michael Anstis wrote:


Emailed me directly too... some people do nothing to help themselves.


me too..

Mark


sent on the move

On 18 Apr 2012 11:20, "Wolfgang Laun" > wrote:


San,

(1) Do NOT post the same thing four times.

(2) Do NOT start with decision tables. After one month you should be
able to write a simple rule in DRL.

(3) Do NOT post questions without providing sufficient context.  is
maturityAge a field of PremiumCalculatorFormBean? Why do you define
this function getMaturityAge? How is it defined?

(4) Do NOT say that there is an error unless you show sufficient
context. You do not pass "pp" to any function in the code you show -
so what's the point in saying "not able to find" etc.

(5) Use the list, do NOT email me directly. I answer the list if I
have the time.

-W


On 18/04/2012, Sangram Jethy mailto:sangram...@gmail.com>> wrote:
> Hi
>
> I am a student who recently working as a java developer on
drools.I have
> been going thru drools over last one month.
>
> Nw I hav a couple of doubt...i am struck pz reply me if u
cud find time
> out of yr busy schedule...
>
> I am trying to cal a local function getMaturityAge()  in the
decision table
> condition column like
>
> RuleTable MaturityAge Validation
> CONDITION
> ACTION
> pp:PremiumCalculatorFormBean
> getMaturityAge() >  "$1"
>  System.out.println("invalid maturity age");
> Premium Payment Term   Print out
> message?
> 70  
X

>
> The method is defined localy using functions key word.
> This is showing error in function line is .. getMaturityAge() >
>  "$1"..
> And moreover whenever I trying to pass pp as the argument to my
functions,
> its not able to find pp. I am getting  cud not parse knowledge
error.
> Pz tel me how to make it work...
>
> Also pz suggest some extensive reading material for rules both
in( ddr and
> decision table format ). I am also goin thru d documentation n
Mr Paul
> Brown book. But i cudnt find more on using decision table and
its syntax.
> Pz suggest me on dat.
>
>
> Tnks n Regards
>
> Sangram Jethy (San)
>
___
rules-users mailing list
rules-users@lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Explanation of a decision

2012-04-20 Thread Mark Proctor

On 20/04/2012 12:33, Maxim Kolchin wrote:

Hi,

I'm working on expert system, automating one of the stages of optical 
design.
Now, we're testing the system and we need a function, e?plaining a 
decision of the system: which rules has been fired, why they has been 
fired and so on. And I'm looking for a way to implement this feature.


Has someone had an experience in implementing this kind of features? 
Or does someone know how it can be implemented?
Take a look at the audit log, that just uses listeners to create a trace 
of the execution.


Mark


Thank you,

Maxim Kolchin
Laboratory of Intellectual Systems,
National Research University ITMO,
http://en.ifmo.ru


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Explanation of a decision

2012-04-20 Thread Maxim Kolchin
Hi,

I'm working on expert system, automating one of the stages of optical
design.
Now, we're testing the system and we need a function, eŃ…plaining a decision
of the system: which rules has been fired, why they has been fired and so
on. And I'm looking for a way to implement this feature.

Has someone had an experience in implementing this kind of features? Or
does someone know how it can be implemented?

Thank you,

Maxim Kolchin
Laboratory of Intellectual Systems,
National Research University ITMO,
http://en.ifmo.ru
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] JBPM 5 Console

2012-04-20 Thread Alberto R. Galdo
Hi,

   Our set-up consists in a KnowledgeSession that lives in an OSGi
environment wich contains rules, processes, events,  and it is
connected to an Guvnor installation in a JBoss aplication server ...

   What we are trying to accomplish is to be able to use the JBPM Console
with our current Knowledge Session. Our plan is to install JBPM-Console in
our current JBoss connected to our session in the OSGi container ( Equinox
).

   There seem to be a lack of documentation for this kind of installation
and in the manual the automated installation is recommended ( the one that
has Guvnor, JBPM Console, Drools, etc... all in one package ).  We've
tested the automated installation and indeed there it is the console,
drools and so on, and it works, but when we peek at the code to find ways
of integrating our "remote"  ( at least in another virtual machine )
session we saw that whenever jbpm-console doesn't find a current knowledge
session it starts one in the current  virtual machine using processes,
rules that exist there on purpose. In other words jbpm-console seems to
work only for local ( as in the same virtual machine ) knowledge sessions.

Also there's an  integration API wich solves this problem and abstracts
different knowledgesessions providers from the knowledge-api point of view
... but we couldn't find any definitive documentation that fills the gaps.

   Can you give us any pointers to documentation on the subject. Will we be
able to get a JBPM-Console accessing ( and managin ) our processes living
in a session on another virtual machine?

Best regards,


Alberto R. Galdo
arga...@gmail.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] jbpm and rule flow

2012-04-20 Thread sumatheja
Hi All,
I'm a bit confused regarding the differences between the two. I
understand that JBPM is a complete workflow with full workflow
capabilities. But will the rule-flows continue to work? I've created a
sample rule-flow, but it doesn't work until I put the jbpm jars in the
classpath. I can remember in older versions of drools I never used to
import these jars seperately.
   Is it recommended to continue writing rule-flows with the latest
versions?? I'll be grateful if someone can provide me a link where I can
get my confusions cleared.

Thanks in advance

-- 
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Please add me to rule users list

2012-04-20 Thread Atif Tahir/TVM/TCS
Hi

Please add me to rule users list and mail me the updates.

-- 
Regards,
Mohd Tahir
Tata Consultancy Services Limited
Mail to : atif.ta...@tcs.com
Website : http://www.tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] please provide a rule for events timeout cases

2012-04-20 Thread Vincent LEGENDRE

>> And make sure to use '==' when testing for equality!

Oh yes of course !! 
Did not noticed ...
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Deactivate rule automatically activated via KnowledgeAgent

2012-04-20 Thread FlyingEagle
Hi,

I want to adminstrate and deploy my rules with Guvnor. The deployment is
done with a binary file (.pkg). On my target system, a KnowledgeAgent with
defned change-set is running and activates automatically the rules defined
in the pkg file. Up to this point everything is fine.

How can I  now deactivate a rule (remove it from the KnowledgeBase)?
Is there a standard mechanism available to undeploy via Guvnor?
Or must I deploy a new pkg file, which does not contain the rule to be
deactivated?
Are rules automatically deactivated, when the pkg file is deleted on the
target system?
Is this an approach for solution?
 
What is the best way to solve the problem?

Thanks a lot for your help! 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Deactivate-rule-automatically-activated-via-KnowledgeAgent-tp3925302p3925302.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users