[jboss-user] [JBoss jBPM] - End a path of execution

2007-06-15 Thread pattchen
hi, I would like to know how to end a path of execution in jBPM. In fact, i have a path of execution which should end if a certain condition is evaluated to true, so that others activities will not take place. I've tried these solutions: 1. if(condition){ |

[jboss-user] [JBoss jBPM] - define variable and its value in the process definition

2007-06-07 Thread pattchen
Hi, I would like to define a variable in the xml process definition file, so that all activities of instances can get it (if possible without modifying it). please,what is the appropriate syntax? Thanks. View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Get all the child in in master/child relationship

2007-06-02 Thread pattchen
Hi, I have a master/child relation, and I would like to know how I can get all children of a parent given by its code (key). For example, if I would like to know all the employees of a given department, this sql query will give me corresponding results: select * from Employee e where

[jboss-user] [JBoss jBPM] - define execution order in a fork

2007-06-01 Thread pattchen
Hi, i would like to know if there is a way to define in which order transitions of a fork must be followed by the token. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050558#4050558 Reply to the post :

[jboss-user] [JBoss jBPM] - ordering transitions executions of a fork node

2007-05-29 Thread pattchen
Hi, I would like to order transitions of a fork node.Considering the following listing: node name=one | action class=usingjbpm.Action1/ | transition to=forkTransition/ | /node | | fork name=forkTransition | transition

[jboss-user] [JBoss jBPM] - Concurrent paths in a Fork without join

2007-05-29 Thread pattchen
Hi, I'm using a fork without a join, and i would like to know how concurrent paths of execution behave. Does each path goes until the end of the process,or until the next node they have in common in their execution path? [[ I've tried to check this by putting an action(which prints something

[jboss-user] [JBoss jBPM] - Re: Concurrent paths in a Fork without join

2007-05-29 Thread pattchen
Sorry,really sorry, I've forgotten to put a leaveNode instruction in the last node (before the final state) of my process. And about my question, each execution path goes until the final state. Regards View the original post :

[jboss-user] [JBoss jBPM] - logging process execution in file instead of database

2007-05-28 Thread pattchen
Hi, I would like to know of jBPM can log process executions in a file instead of a database. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048978#4048978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048978

[jboss-user] [JBoss jBPM] - workflow engine vs WFMS

2007-05-28 Thread pattchen
hi, May someone tell me which are the differences (if any) between a workflow engine and a workflow management system ? In which category should we classify jBPM? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049004#4049004 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: logging process execution in file instead of database

2007-05-28 Thread pattchen
thanks Ronald, but, why not by default? does this mean that there is a customized way to do this ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049006#4049006 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: logging process execution in file instead of database

2007-05-28 Thread pattchen
I've looked at services configuration in jBPM doc. By default,jBPM provides an implementation of Logging services through 2 classes: DbLoggingServiceFactory which implements ServiceFactory | DbLoggingService which implements LoggingService | | I guess that for my problem, I should provide

[jboss-user] [JBoss jBPM] - Re: workflow engine vs WFMS

2007-05-28 Thread pattchen
Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049013#4049013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049013 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss jBPM] - Re: logging process execution in file instead of database

2007-05-28 Thread pattchen
I want to replace db with file for 6 reasons: 1. process definition are in an xml file,not in a database 3. I don't want to create a database with all jBPM tables (28) just for logs. 2. information which is really interesting is the result of the process,ie OK,KO or another possible issue. 4.

[jboss-user] [JBoss jBPM] - Re: logging process execution in file instead of database

2007-05-28 Thread pattchen
anonymous wrote : 3: it is only to a small extend for logs (although it might be the biggest amount of data). that's the problem!! I don't want to use a database to store process (even at deploytime). So, if I use db logging,i must create a database just for that. (I works on a JAVA SE

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate and XML persistence implementation

2007-05-26 Thread pattchen
Thanks for your answer Andy, I've explored documentation about Hibernate and XML.It seems that I must open a database session before open a DOM4J session. Moreover,It is not possible to retrieve objects from an xml storage. Here is an example of what i want to achieve: /**XMLSession is an

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate and XML persistence implementation

2007-05-25 Thread pattchen
Hi, I would like to know if Hibernate can persist objects to XML using the same pojo classes as database persistence classes? In fact,I want to persist/retrieve plain old java objects to/from an xml store which conforms to a given schema. This schema defines foreign key,but objects use

[jboss-user] [JBoss jBPM] - reuse nodes in multiples processes

2007-05-18 Thread pattchen
hi, I'm newbie in jBPM and i need some help. I have designed some process and realized that they include almost same nodes. But, sequence is different or context variables don't have same name. I don't want to write a class associated to a node in a process, and write another class associated to