[jboss-user] [JBoss jBPM] - Help to implement an Approval Business Process

2007-08-22 Thread JeanGuyer
Hello, I am not speak english well , so i might be unclear. I have an issue to make a business process with jbpm , and i need help to build this one . The business process is an approval process , it needs the approval of each users involved , or the reject of just one of them. The process is b

[jboss-user] [JBoss jBPM] - Re: Node configuration with Maps - How to?

2007-08-22 Thread JeanGuyer
I have an actionHandler with a List ,not a map. Hope this will help you : | | label.process|Demande de produits et prestations | url.process|eco.dempdtpst | label.info|N°Demande | txt.info| |

[jboss-user] [JBoss jBPM] - Help to design a process + API call : Dynamic Task

2007-07-31 Thread JeanGuyer
Hi, I have a process to design , it's an approval process : A person ask to close/delete a business entity in the database. Depend on the nature of the entity , we extract N person (it can be 1 2 3 4 , etc). Each person will receive a Task Assignment at the same time (like a fork) : they must

[jboss-user] [JBoss jBPM] - Re: How to query process instances by process variables

2006-10-24 Thread JeanGuyer
I use something like that : Query query = this.procMgr.getSession().createQuery("select vi from org.jbpm.context.exe.VariableInstance vi where vi.name = :varname and vi.value=:varvalue"); | query.setString("varname", varName); | query.setString("varvalue", varValue);

[jboss-user] [JBoss jBPM] - Re: HQL query to select taskinstances

2006-10-24 Thread JeanGuyer
try something like : Query query = session.createQuery("select taskinstance from TaskInstance taskinstance join taskinstance.variableInstances as variable where variable.name = :varname and variable.value =:varvalue "); query.setString("varname", varName); query.setLong("varv

[jboss-user] [JBoss jBPM] - Re: JbpmContext: when to create new vs. get current

2006-10-13 Thread JeanGuyer
anonymous wrote : 1) It appears that any saving of data to the database (such as process instance state) doesn't commit until the JbpmContext is closed. This then seemed to suggest that a JbpmContext needed to be created and closed each time data needed to be saved to the database. i create a

[jboss-user] [JBoss jBPM] - Re: Jbpm + CMT + Hibernate : Session Is Closed..

2006-09-19 Thread JeanGuyer
the line that raise the error is just after the sysout on the session : this.procInstance_testProcess1= this.processMgr.getProcessIntance(entityBean.getProcessIntanceId()); the first method commit well in the database , but in the second , i don't understand why the session is closed , while it

[jboss-user] [JBoss jBPM] - Task is assigned , but is it accepted ?

2006-08-31 Thread JeanGuyer
Hi , I am new to Jbpm , and i want to make something like this : -assign a task to an actor (CreatedDate), and knew when he accepted it (startedDate), and if he don't accepted it before a deadline , reassign it to another guy. I want to know also if i can get the time between CreatedDate , Star

[jboss-user] [JBoss Seam] - Re: JBPM and Seam Integration - JBPM as an external service

2006-08-03 Thread JeanGuyer
I have tried but not succeed yet... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962794#3962794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962794 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: java.lang.IllegalStateException: pageflow has not yet st

2006-08-03 Thread JeanGuyer
Pageflow has not started not occurs when i put the jbpm3.1.2.jar in web-inf lib , and not use the one in jbpm.sar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962775#3962775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [JBoss Seam] - Re: java.lang.IllegalStateException: pageflow has not yet st

2006-08-03 Thread JeanGuyer
Thnak you , i have tried your tip but it doesn't work. anonymous wrote : 09:40:37,145 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.ClassCastException: org.jbpm.graph.node.StartState | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java

[jboss-user] [JBoss Seam] - java.lang.IllegalStateException: pageflow has not yet starte

2006-08-02 Thread JeanGuyer
Hi. I am trying to build a very simple webapp.. but this doesn't work. I am on Jboss Server 4.0.4Ga I have a jbpm.sar in the server/default/deploy (build on the stable jbpm3.1) I use Seam nightly build of 26/07 (because of a problem about pageflow sources localisation) I am using a Oracle Dataso

[jboss-user] [JBoss Seam] - Re: java.lang.IllegalStateException: pageflow has not yet st

2006-08-02 Thread JeanGuyer
i have forgot to tell that my war is build with eclipse module dependencies , so it has myfaces-1.1-impl.jar , myfaces-1.1-api.jar , and jboss-seam.jar. That's all , it manage to find the instance of jbpm launched with jbpm.sar (jbpm administration webapp works well). The jbpm.sar use jbpm.jar t

[jboss-user] [JBoss Seam] - Re: PageFlow : jbpm or Seam ?

2006-07-19 Thread JeanGuyer
mm , i use the one i build , because a problem of ehcache lib with jboss4.0.4. I just notice that jbpm 3.1.2 is out , i'll look if i can find the Page class... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959127#3959127 Reply to the post : http://www.jb

[jboss-user] [JBoss Seam] - PageFlow : jbpm or Seam ?

2006-07-19 Thread JeanGuyer
I tried to use jbpm for workflow and pageflow. but when i run my 4.0.4 server , i have an error because org.jboss.seam.core.PageFlow (seam 1.0.1 GA) depends on org.jbpm.pageflow.Page , but in my jbpm 3.1.1 , this doesn't exist ... but i have a org.jboss.seam.jbpm.Page. So Pageflow is a seam or