Re: [rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread Michael Anstis
Yes, AFAIK we have not removed the compilation of rule flows. but you
won't *see* anything in Guvnor other than the asset. They'll just be in the
binary package you download.

sent on the move

On 10 May 2012 19:25, "Tihomir Surdilovic"  wrote:

>  .rf format should afaik still be supported in guvnor for compilations.
> don't think that has been removed?
> On 5/10/12 2:22 PM, Vincent LEGENDRE wrote:
>
> One day (a long time ago) I've uploaded a .rf file, in a old version (5.1)
> that only displays it (no edition).
> But even if Guvnor cannot edit nor display .rf files, it should compile
> them the same way as API does ?
> Or does the compiler suppose some file extension to collect its ressources
> ? (and exclude .rf files for some reasons ?)
>
> --
> *De: *"Michael Anstis" 
> *À: *"Rules Users List" 
> 
> *Envoyé: *Jeudi 10 Mai 2012 20:13:11
> *Objet: *Re: [rules-users] Use of ruleflows in Guvnor
>
> AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM
> integration.
>
> I don't believe we've ever had a web-based rule flow editor unless the
> jBPM Process Designer supports them.
>
> Tiho, for your comment?
>
> sent on the move
>
> On 10 May 2012 17:49, "dollanitri"  wrote:
>
>> Hi All,
>>
>> Currently i'm trying to do a small POC on drools and ruleflows integrating
>> with Java Custom Application.
>> Here below are the details:
>> -- Created decision tables in Guvnor Web based UI and ruleflows in Eclipse
>> using jBPM plugin.
>> -- Exposed Drools API into one of the java helper class and called
>> ruleflows
>> using startprocess.
>> -- When process starts then it calls Decision tables (by hard coding the
>> decision table name) from the ruleflow (.rf)
>> -- Finally getting output from the decision table returned action.
>>
>>
>> Here my question is
>> 1) There is a option in Guvnor to upload ruleflows (.rf), but seems to be
>> that its not working.
>> I tried to upload newly created ruleflow into Guvnor and shown uploaded
>> successfully, however its not at all using anywhere.
>>
>> Question : how this ruleflow works in Guvnor after uploading into it?
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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
>>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> ___
> rules-users mailing 
> listrules-users@lists.jboss.orghttps://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] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread Michael Anstis
Sure, no problem.

https://issues.jboss.org/browse/GUVNOR

You might need to create an account, but it should be obvious :)

Please also search for any existing JIRA that might already cover the
requirement.

sent on the move

On 10 May 2012 19:12, "sumatheja"  wrote:

> Can you send me a link which guides through the process... I haven't
> raised one before.
>
> On Thu, May 10, 2012 at 7:08 PM, Michael Anstis 
> wrote:
>
>> Please raise a JIRA for Guvnor (not Drools) so we have a record of this
>> requirement and can schedule for future consideration.
>>
>> Thanks.
>>
>> sent on the move
>>
>> On 10 May 2012 17:45, "sumatheja"  wrote:
>>
>>> Hi Michael,
>>> When I try to add a global variable like
>>>
>>> *global java.util.List tresholdList;*
>>>
>>> the package build properly without issues.
>>>
>>> On Thu, May 10, 2012 at 5:30 PM, Michael Anstis <
>>> michael.ans...@gmail.com> wrote:
>>>
 AFAIK Drools doens't support generics, so Guvnor can't be expected to
 either.

 Waiting for somebody to correct me... and having a heap of work to do
 on Guvnor. ;)


 On 10 May 2012 16:56, sumatheja  wrote:

> Thanks for the response. so I guess I need to typecast and use it. :)
>
>
> On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
> elisabeth.wi...@wincor-nixdorf.com> wrote:
>
>> Hi Sumatheja,
>>
>> bad news...
>> Guvnor doesn't support generics. I had the same problem and now I am
>> working
>> without type safe definitions.
>> I am working with the newest version 5.4.0, but this feature is
>> missing.
>>
>> Sorry for not having better news.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>>
>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> ___
> 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


>>>
>>>
>>> --
>>> cheers
>>> Sumatheja Dasararaju
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> ___
> 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] Use of ruleflows in Guvnor

2012-05-10 Thread Tihomir Surdilovic
.rf format should afaik still be supported in guvnor for compilations. 
don't think that has been removed?

On 5/10/12 2:22 PM, Vincent LEGENDRE wrote:
One day (a long time ago) I've uploaded a .rf file, in a old version 
(5.1) that only displays it (no edition).
But even if Guvnor cannot edit nor display .rf files, it should 
compile them the same way as API does ?
Or does the compiler suppose some file extension to collect its 
ressources ? (and exclude .rf files for some reasons ?)



*De: *"Michael Anstis" 
*À: *"Rules Users List" 
*Envoyé: *Jeudi 10 Mai 2012 20:13:11
*Objet: *Re: [rules-users] Use of ruleflows in Guvnor

AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM 
integration.


I don't believe we've ever had a web-based rule flow editor unless the 
jBPM Process Designer supports them.


Tiho, for your comment?

sent on the move

On 10 May 2012 17:49, "dollanitri" > wrote:


Hi All,

Currently i'm trying to do a small POC on drools and ruleflows
integrating
with Java Custom Application.
Here below are the details:
-- Created decision tables in Guvnor Web based UI and ruleflows in
Eclipse
using jBPM plugin.
-- Exposed Drools API into one of the java helper class and called
ruleflows
using startprocess.
-- When process starts then it calls Decision tables (by hard
coding the
decision table name) from the ruleflow (.rf)
-- Finally getting output from the decision table returned action.


Here my question is
1) There is a option in Guvnor to upload ruleflows (.rf), but
seems to be
that its not working.
I tried to upload newly created ruleflow into Guvnor and shown
uploaded
successfully, however its not at all using anywhere.

Question : how this ruleflow works in Guvnor after uploading into it?


--
View this message in context:
http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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


___
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] Use of ruleflows in Guvnor

2012-05-10 Thread Vincent LEGENDRE
One day (a long time ago) I've uploaded a .rf file, in a old version (5.1) that 
only displays it (no edition).
But even if Guvnor cannot edit nor display .rf files, it should compile them 
the same way as API does ?
Or does the compiler suppose some file extension to collect its ressources ? 
(and exclude .rf files for some reasons ?)

- Mail original -

De: "Michael Anstis" 
À: "Rules Users List" 
Envoyé: Jeudi 10 Mai 2012 20:13:11
Objet: Re: [rules-users] Use of ruleflows in Guvnor


AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM integration.
I don't believe we've ever had a web-based rule flow editor unless the jBPM 
Process Designer supports them.
Tiho, for your comment?
sent on the move
On 10 May 2012 17:49, "dollanitri" < dollani...@gmail.com > wrote:


Hi All,

Currently i'm trying to do a small POC on drools and ruleflows integrating 
with Java Custom Application.
Here below are the details:
-- Created decision tables in Guvnor Web based UI and ruleflows in Eclipse 
using jBPM plugin.
-- Exposed Drools API into one of the java helper class and called ruleflows
using startprocess.
-- When process starts then it calls Decision tables (by hard coding the
decision table name) from the ruleflow (.rf)
-- Finally getting output from the decision table returned action.


Here my question is
1) There is a option in Guvnor to upload ruleflows (.rf), but seems to be
that its not working.
I tried to upload newly created ruleflow into Guvnor and shown uploaded
successfully, however its not at all using anywhere.

Question : how this ruleflow works in Guvnor after uploading into it?


--
View this message in context: 
http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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




___
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] Use of ruleflows in Guvnor

2012-05-10 Thread Tihomir Surdilovic

On 5/10/12 2:13 PM, Michael Anstis wrote:


AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM 
integration.


I don't believe we've ever had a web-based rule flow editor unless the 
jBPM Process Designer supports them.


Tiho, for your comment?

The jBPM Designer is specific for creation/modification of jBPM5 
executable processes which are described with BPMN2.0, not the old, 
no-longer-used .rf format which was used in drools-flow.


Thanks.


sent on the move

On 10 May 2012 17:49, "dollanitri" > wrote:


Hi All,

Currently i'm trying to do a small POC on drools and ruleflows
integrating
with Java Custom Application.
Here below are the details:
-- Created decision tables in Guvnor Web based UI and ruleflows in
Eclipse
using jBPM plugin.
-- Exposed Drools API into one of the java helper class and called
ruleflows
using startprocess.
-- When process starts then it calls Decision tables (by hard
coding the
decision table name) from the ruleflow (.rf)
-- Finally getting output from the decision table returned action.


Here my question is
1) There is a option in Guvnor to upload ruleflows (.rf), but
seems to be
that its not working.
I tried to upload newly created ruleflow into Guvnor and shown
uploaded
successfully, however its not at all using anywhere.

Question : how this ruleflow works in Guvnor after uploading into it?


--
View this message in context:
http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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



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


Re: [rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread Michael Anstis
AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM
integration.

I don't believe we've ever had a web-based rule flow editor unless the jBPM
Process Designer supports them.

Tiho, for your comment?

sent on the move

On 10 May 2012 17:49, "dollanitri"  wrote:

> Hi All,
>
> Currently i'm trying to do a small POC on drools and ruleflows integrating
> with Java Custom Application.
> Here below are the details:
> -- Created decision tables in Guvnor Web based UI and ruleflows in Eclipse
> using jBPM plugin.
> -- Exposed Drools API into one of the java helper class and called
> ruleflows
> using startprocess.
> -- When process starts then it calls Decision tables (by hard coding the
> decision table name) from the ruleflow (.rf)
> -- Finally getting output from the decision table returned action.
>
>
> Here my question is
> 1) There is a option in Guvnor to upload ruleflows (.rf), but seems to be
> that its not working.
> I tried to upload newly created ruleflow into Guvnor and shown uploaded
> successfully, however its not at all using anywhere.
>
> Question : how this ruleflow works in Guvnor after uploading into it?
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Can you send me a link which guides through the process... I haven't raised
one before.

On Thu, May 10, 2012 at 7:08 PM, Michael Anstis wrote:

> Please raise a JIRA for Guvnor (not Drools) so we have a record of this
> requirement and can schedule for future consideration.
>
> Thanks.
>
> sent on the move
>
> On 10 May 2012 17:45, "sumatheja"  wrote:
>
>> Hi Michael,
>> When I try to add a global variable like
>>
>> *global java.util.List tresholdList;*
>>
>> the package build properly without issues.
>>
>> On Thu, May 10, 2012 at 5:30 PM, Michael Anstis > > wrote:
>>
>>> AFAIK Drools doens't support generics, so Guvnor can't be expected to
>>> either.
>>>
>>> Waiting for somebody to correct me... and having a heap of work to do on
>>> Guvnor. ;)
>>>
>>>
>>> On 10 May 2012 16:56, sumatheja  wrote:
>>>
 Thanks for the response. so I guess I need to typecast and use it. :)


 On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
 elisabeth.wi...@wincor-nixdorf.com> wrote:

> Hi Sumatheja,
>
> bad news...
> Guvnor doesn't support generics. I had the same problem and now I am
> working
> without type safe definitions.
> I am working with the newest version 5.4.0, but this feature is
> missing.
>
> Sorry for not having better news.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>



 --
 cheers
 Sumatheja Dasararaju



 ___
 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
>>>
>>>
>>
>>
>> --
>> cheers
>> Sumatheja Dasararaju
>>
>>
>>
>> ___
>> 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
>
>


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


Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread Michael Anstis
Please raise a JIRA for Guvnor (not Drools) so we have a record of this
requirement and can schedule for future consideration.

Thanks.

sent on the move

On 10 May 2012 17:45, "sumatheja"  wrote:

> Hi Michael,
> When I try to add a global variable like
>
> *global java.util.List tresholdList;*
>
> the package build properly without issues.
>
> On Thu, May 10, 2012 at 5:30 PM, Michael Anstis 
> wrote:
>
>> AFAIK Drools doens't support generics, so Guvnor can't be expected to
>> either.
>>
>> Waiting for somebody to correct me... and having a heap of work to do on
>> Guvnor. ;)
>>
>>
>> On 10 May 2012 16:56, sumatheja  wrote:
>>
>>> Thanks for the response. so I guess I need to typecast and use it. :)
>>>
>>>
>>> On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
>>> elisabeth.wi...@wincor-nixdorf.com> wrote:
>>>
 Hi Sumatheja,

 bad news...
 Guvnor doesn't support generics. I had the same problem and now I am
 working
 without type safe definitions.
 I am working with the newest version 5.4.0, but this feature is missing.

 Sorry for not having better news.




 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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

>>>
>>>
>>>
>>> --
>>> cheers
>>> Sumatheja Dasararaju
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> ___
> 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] Knowledge Base and Multiple Sessions

2012-05-10 Thread gboro54
If you have multiple sessions running on different threads against the same
knowledge base, is there any performance hit during evaluation? 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Knowledge-Base-and-Multiple-Sessions-tp3977702.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


[rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread dollanitri
Hi All,

Currently i'm trying to do a small POC on drools and ruleflows integrating
with Java Custom Application.
Here below are the details:
-- Created decision tables in Guvnor Web based UI and ruleflows in Eclipse
using jBPM plugin.
-- Exposed Drools API into one of the java helper class and called ruleflows
using startprocess.
-- When process starts then it calls Decision tables (by hard coding the
decision table name) from the ruleflow (.rf)
-- Finally getting output from the decision table returned action.


Here my question is
1) There is a option in Guvnor to upload ruleflows (.rf), but seems to be
that its not working.
I tried to upload newly created ruleflow into Guvnor and shown uploaded
successfully, however its not at all using anywhere.

Question : how this ruleflow works in Guvnor after uploading into it?


--
View this message in context: 
http://drools.46999.n3.nabble.com/Use-of-ruleflows-in-Guvnor-tp3977643.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] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Hi Michael,
When I try to add a global variable like

*global java.util.List tresholdList;*

the package build properly without issues.

On Thu, May 10, 2012 at 5:30 PM, Michael Anstis wrote:

> AFAIK Drools doens't support generics, so Guvnor can't be expected to
> either.
>
> Waiting for somebody to correct me... and having a heap of work to do on
> Guvnor. ;)
>
>
> On 10 May 2012 16:56, sumatheja  wrote:
>
>> Thanks for the response. so I guess I need to typecast and use it. :)
>>
>>
>> On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
>> elisabeth.wi...@wincor-nixdorf.com> wrote:
>>
>>> Hi Sumatheja,
>>>
>>> bad news...
>>> Guvnor doesn't support generics. I had the same problem and now I am
>>> working
>>> without type safe definitions.
>>> I am working with the newest version 5.4.0, but this feature is missing.
>>>
>>> Sorry for not having better news.
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>>>
>>
>>
>>
>> --
>> cheers
>> Sumatheja Dasararaju
>>
>>
>>
>> ___
>> 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
>
>


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


Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread Michael Anstis
AFAIK Drools doens't support generics, so Guvnor can't be expected to
either.

Waiting for somebody to correct me... and having a heap of work to do on
Guvnor. ;)

On 10 May 2012 16:56, sumatheja  wrote:

> Thanks for the response. so I guess I need to typecast and use it. :)
>
>
> On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
> elisabeth.wi...@wincor-nixdorf.com> wrote:
>
>> Hi Sumatheja,
>>
>> bad news...
>> Guvnor doesn't support generics. I had the same problem and now I am
>> working
>> without type safe definitions.
>> I am working with the newest version 5.4.0, but this feature is missing.
>>
>> Sorry for not having better news.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>>
>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> ___
> 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] Why is solving a partial puzzle much slower than generating one from scratch?

2012-05-10 Thread Qchevalier
Hello aitchnyu,

Can you share your source code about the Planner implementation on sudoku
game?

To train myself on Planner, I tried to implement a sudoku solver based on
Planner, but I didn't manage to go through.

Thank you in advance,

Quentin

--
View this message in context: 
http://drools.46999.n3.nabble.com/Why-is-solving-a-partial-puzzle-much-slower-than-generating-one-from-scratch-tp3703622p3977593.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] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Thanks for the response. so I guess I need to typecast and use it. :)

On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
elisabeth.wi...@wincor-nixdorf.com> wrote:

> Hi Sumatheja,
>
> bad news...
> Guvnor doesn't support generics. I had the same problem and now I am
> working
> without type safe definitions.
> I am working with the newest version 5.4.0, but this feature is missing.
>
> Sorry for not having better news.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>



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


Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread FlyingEagle
Hi Sumatheja,

bad news...
Guvnor doesn't support generics. I had the same problem and now I am working
without type safe definitions.
I am working with the newest version 5.4.0, but this feature is missing.

Sorry for not having better news.




--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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


[rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Hi,
   I'm trying to write a function in guvnor like

function int applyThresholds(List thresholdList, int totalPoints)

It says the List ClassNotFound even though I've java.util.List in
the imports. when i remove  generic it works fine. I'm using
drools and guvnor 5.4 CR1. Am I missing anything? 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] Does Guvnor support calendar definitions

2012-05-10 Thread FlyingEagle
Hi,

I have a rule, which only may be fired at night.
So I have defined in the drl the following:

rule "MyRule"
calendars "night-hours" // defines daily interval from 0am to 6am
when
...
then
...
end

How can I define this in Guvnor?

Thx

--
View this message in context: 
http://drools.46999.n3.nabble.com/Does-Guvnor-support-calendar-definitions-tp3977363.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] Drools 5.4.0.Final and jBPM 5.3.0.Final are being released

2012-05-10 Thread Cristiano Gavião
Tony,

Do you mean that won't exists a pre-release (CR) of JBPM 5.3 as have 
occurred with Drools 5.4 ?

What is the target date ?

regards,

Cristiano

On 09/05/12 04:04, Toni Rikkola wrote:
> Only blocker bugs can stop the release process.
> It is now too late to cherry pick bug fixes or documentation for the Final 
> releases.
>
> Toni Rikkola
> ___
> 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] Decision table call external method

2012-05-10 Thread Michael Anstis
In Guvnor, or just using drools-decisiontables?

On 10 May 2012 13:05, SuperGG  wrote:

> Hi,
>
> I'm being stuck this past days with a little problem that I hope you will
> be
> able to help me out.
> I'm trying to call a non static method from a class in the action part.
>
> I have tried to import it, to put it as a variable or to insert it into the
> ksession but I wasn't able to make it work.
>
> Someone can explain me how I should proceed ?
>
> Thanks in adance.
>
> Bye
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910.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
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Decision table call external method

2012-05-10 Thread SuperGG
Hi,

I'm being stuck this past days with a little problem that I hope you will be
able to help me out.
I'm trying to call a non static method from a class in the action part.

I have tried to import it, to put it as a variable or to insert it into the
ksession but I wasn't able to make it work.

Someone can explain me how I should proceed ?

Thanks in adance.

Bye

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910.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] Is there a faster way of doing this in Drools ?

2012-05-10 Thread Davide Sottara
"should" as in "bugs/regressions apart" :)



--
View this message in context: 
http://drools.46999.n3.nabble.com/Is-there-a-faster-way-of-doing-this-in-Drools-tp3973888p3976439.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] Is there a faster way of doing this in Drools ?

2012-05-10 Thread Vincent LEGENDRE
ok thanks.
seems dangerous anyway ..
and you said "should be possible", which is (according to what I know in 
english) not really sure ?

- Mail original -
De: "Davide Sottara" 
À: rules-users@lists.jboss.org
Envoyé: Mercredi 9 Mai 2012 23:50:54
Objet: Re: [rules-users] Is there a faster way of doing this in Drools ?

@Vincent: it should indeed be possible to hot-plug rules directly into a
knowledge BASE (meaning all sessions derived from that KB will be affected:
existing facts will be matched against the new rules). More typically, this
is done using a Knowledge Agent to manage the Knowledge Base.
Whether this is appropriate for this use case or not, is a totally different
matter, as thoroughly discussed :)

--
View this message in context: 
http://drools.46999.n3.nabble.com/Is-there-a-faster-way-of-doing-this-in-Drools-tp3973888p3975487.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

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


Re: [rules-users] Start of Guvnor 5.4.0.CR1 results in javax.naming.NamingException

2012-05-10 Thread FlyingEagle
I have found the solution for the problem!

The problem is solved with JBOSS AS 7.0.2.
So don't use for deployment of Guvnor 5.4.0, the JBOSS AS 7.0.0, but JBOSS
AS 7.0.2. 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Start-of-Guvnor-5-4-0-CR1-results-in-javax-naming-NamingException-tp3973383p3976392.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