-
1. drools parameter
salaboy21 Mar 4, 2011 3:19 PM (in response to new-user)Can you provide an example about what you want to achieve?
Depending what you want to do is you you can do it.
If you define a varible inside a business process then you can initialize it in the startProcess("id", map<String,Object> parameters) method.
Greetings.
-
2. drools parameter
new-user Mar 4, 2011 6:01 PM (in response to salaboy21)Hi Mauricio,
This is my requirement :
I need keep some variables in drools (eg : status of the workflow). This variable needs to be checked in didffrent user tasks. Based on this varialbe's value the workflow path will be identified.. I am dont know how to use drools to create and to use it in process. As you said, If I create the varialbe in action or in scripttask, how can I access that variable in drools.
Thanks
-
3. drools parameter
bpmn2user Mar 7, 2011 3:56 PM (in response to new-user)Here is an example that shows a variable that is determined using the rules defined in a drl file.
http://community.jboss.org/people/bpmn2user/blog/2011/03/07/jbpm5--ruletask-example
-
4. drools parameter
bpmn2user Mar 7, 2011 10:44 PM (in response to bpmn2user)Here is the same example using a decision table: