[JBoss-user] [JBoss jBPM] - Setting default values on process / task variables
Is it possible to set default values on tasks / process variables? Something like: | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933634#3933634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933634 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Milestone node
Could anyone describe the usage of MilestoneNode? What's the purpose of it and is it deprecated? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927557#3927557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927557 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Odd behaviour with TaskInstance.end();
Btw, I'm using Jbpm 3.2 (CVS HEAD) from yesterday. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927098#3927098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927098 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Odd behaviour with TaskInstance.end();
>From time to time I get the following exception when ending TaskInstances. They occur totally random. Any ideas? | java.lang.NoSuchMethodError: org.jbpm.graph.exe.Token.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer; | at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$eb645d4c.getHibernateLazyInitializer() | at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274) | at org.hibernate.type.EntityType.resolve(EntityType.java:303) | at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113) | at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) | at org.hibernate.loader.Loader.doQuery(Loader.java:717) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.loadCollection(Loader.java:1919) | at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:71) | at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:520) | at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60) | at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1627) | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:138) | at org.jbpm.graph.node.TaskNode.isLastToComplete(TaskNode.java:222) | at org.jbpm.graph.node.TaskNode.completionTriggersSignal(TaskNode.java:209) | at org.jbpm.graph.node.TaskNode$$FastClassByCGLIB$$923668a4.invoke() | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161) | at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$791bad02.completionTriggersSignal() | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:406) | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:330) | at org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke() | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161) | at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$27c713cd.end() | at org.testing.web.page.ShowTaskInstancePage$4.onSubmit(ShowTaskInstancePage.java:61) | at wicket.markup.html.form.Form.delegateSubmit(Form.java:417) | at wicket.markup.html.form.Form.onFormSubmitted(Form.java:248) | at java.lang.reflect.Method.invoke(Method.java:585) | at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:162) | at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:74) | at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:62) | at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) | at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:818) | at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:851) | at wicket.RequestCycle.step(RequestCycle.java:931) | at wicket.RequestCycle.steps(RequestCycle.java:1005) | at wicket.RequestCycle.request(RequestCycle.java:451) | at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208) | at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:235) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at o
[JBoss-user] [JBoss jBPM] - Sorting taskinstances
Is there a way to get all the tasks under a tasknode in document order from the API, ie, something like getOrderedTaskInstances? Looking at the database I see no way of performing any kind of sort of taskinstances? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926791#3926791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926791 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Fork not leaving all transitions
Ok, I'll make a reply on my own question. :) The problem is that I hadn't declared a name on each transition in the forks... Sorry for the noise.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926789#3926789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926789 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Fork not leaving all transitions
Hi, I'm using JBPM3.1 and I've setup a simple process like this: I would have thought that when I created a new instance I would automatically get 8 new tasks when I did instance.signal(). What happens is that I get 2 new tasks: task1 and task2. Doesn't the fork create a token for each transition? /Mats View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926579#3926579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926579 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Fork not leaving all transitions
Sorry, I messed up the XML | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I would have thought that when I created a new instance I would automatically get 8 new tasks when I did instance.signal(). What happens is that I get 2 new tasks: task1 and task2. Doesn't the fork create a token for each transition? /Mats View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926580#3926580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926580 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Hierarchy of tasks
I forgot an additional problem. The end uses want to be able to plan their phases, ie, to set a dueDate on a phase. Only solution I can come up with is to add a task at the end of each phase and let the user set dueDate on that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926535#3926535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926535 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Hierarchy of tasks
Ok, I'll rephrase my question somewhat. When I got my processinstance running I don't see how I can visualize the different levels of the process. The idea was to present the user with a treegrid with different indentation for each level but how do I know to which "phase" a particular task belong to. Pseudocode for what I would like to accomplish: For the current instance: loop the different phases (how? the are represented by forks) for each phase loop the different groups for each group loop the tasks I guess I could follow the start-state to the first fork and then follow the transitions or something like that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926503#3926503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926503 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Hierarchy of tasks
How would one model several tasks in hierarchy? What I would be able to do is: - group several tasks {T1, T2, .., Tn} in groups G1 = {T1, T2, ..} - group several groups {G1, G2, .., Gn} in phases so that P1 = {G1, G2, ..} When T0 -> Tn all have signaled the group Gn finishes. When G0 -> Gn all have signaled the phase Pn finishes. Setting this up with fork and joins would suggest that: start -> phases_fork -> p1..pn fork -> g1..gn task-node which contains {T1...Tn} task -> p1..pn join -> phases_join -> end So far so good. :) My problem is that in my ui i need to be able to render the hierarchy to screen but I see no way of knowing wich phase and group a particular task belong to. I guess I could add two variables to every task but it seems awkard at best. I've been thinking about superstates, milestones etc but have no real idea how to go about this. Any suggestions? /Mats View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926486#3926486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926486 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user