[jboss-user] [JBoss jBPM] - Re: Swimlane assignment to group
sorry forgot the code tags I tried to test that out by changing my assignment expression for the swimlane in question to be: In other words use the "sales" group which comes by default with jBPM and which I know is in there and has been tested thoroughly by the project. However, when I get to the process node in question I get the same old error. Is this a more general problem with group assignment? Have you been able to make swimlane assignment work with groups? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083002#4083002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane assignment to group
I tried to test that out by changing my assignment expression for the swimlane in question to be: In other words use the "sales" group which comes by default with jBPM and which I know is in there and has been tested thoroughly by the project. However, when I get to the process node in question I get the same old error. Is this a more general problem with group assignment? Have you been able to make swimlane assignment work with groups? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082999#4082999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane assignment to group
I'm afraid I'm not a Java programmer, I'm using the web console to run my process rather than code: I wouldn't know where to start on creating a unit test. Nevertheless, I did manage to trap the relevant error log when I click the "Save and close" button in the console for the process node that's causing me the problems: 20:42:27,868 DEBUG [GraphElement] event 'node-enter' on 'TaskNode(Contract)' for 'Token(/)' | 20:42:27,873 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks == | 20:42:27,918 DEBUG [GraphElement] event 'task-create' on 'Task(Contract)' for 'Token(/)' | 20:42:27,935 DEBUG [ExpressionAssignmentHandler] resolving first term 'group(Legal)' | 20:42:27,958 DEBUG [TaskInstance] assigning task 'Contract' to 'null' | 20:42:27,961 DEBUG [GraphElement] event 'task-assign' on 'Task(Contract)' for 'Token(/)' Looking at the above it looks like my assignment expression can't be resolved. Is there a way to force jBPM to tell me why it can't resolve my expression? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082760#4082760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Swimlane assignment to group
Hi all, I can't make swimlane assignment to a group work. My swimlane definition is: | | The process definition and task assigment is: | | | | | The Legal group has been created in the database as well as a user that has membership of that group. However, when I get to this point in the process, instead of assigning the task to the "Legal" group, the task is assigned to null: 1719 45 08-Sep-2007 06:50:43 task-assign[null,TaskInstance[Contract]] I've searched this forum and found some posts back in 2005/2006 which seem to talk about a similar problem, but I can't find a good resolution (e.g. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73247&start=10&postdays=postDays&postorder=postOrder&highlight=highlight). I'm using jbpm-3.2GA. Can anyone explain? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082326#4082326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with sending a mail using notify=
Actually I think I might be trying to do something which isn't allowed. The process definition in question uses swimlanes for assignment, and those swimlanes are implemented as groups. Hence I'm guessing that the "notify" attribute can't send an email because groups don't have email addresses. However, quite often groups *do* have group email addresses and it would be worthwhile being able to notify a group inbox through the "notify" attribute. Is this something that anyone else has come across? Cheers Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022939#4022939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with sending a mail using notify=
Beta 2, I should have said. Cheers Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022684#4022684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with sending a mail using notify=
Hi, I'm trying to send an email to the current process actor using the notify="yes" attribute in jbpm 3.2beta. My code is as follows: | | | | | | | Trouble is that I get a nullpointerexception in the web console. Turning on logging this is the relevant error: 20:51:56,795 DEBUG [GraphElement] event 'before-signal' on 'TaskNode(All contrac ts agreed?)' for 'Token(/)' 20:51:56,797 DEBUG [GraphElement] event 'node-leave' on 'TaskNode(All contracts agreed?)' for 'Token(/)' 20:51:56,798 DEBUG [GraphElement] event 'transition' on 'Transition(Yes)' for 'T oken(/)' 20:51:56,801 DEBUG [GraphElement] event 'node-enter' on 'TaskNode(Name band)' fo r 'Token(/)' 20:51:56,804 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.T askNode - this operation breaks == 20:51:56,808 DEBUG [TaskController] creating task instance variable 'Band name' from process variable 'bandName', value 'null' 20:51:56,809 DEBUG [VariableContainer] create variable 'Band name' in 'TaskInsta nce[Name band]' with value 'null' 20:51:56,811 DEBUG [GraphElement] event 'task-create' on 'Task(Name band)' for ' Token(/)' 20:51:56,816 DEBUG [ExpressionAssignmentHandler] resolving first term 'group(Rec ord producer)' 20:51:56,821 DEBUG [TaskInstance] assigning task 'Name band' to 'null' 20:51:56,822 DEBUG [GraphElement] event 'task-assign' on 'Task(Name band)' for ' Token(/)' 20:51:56,824 DEBUG [GraphElement] executing action 'Action(a1e97a)' 20:51:56,825 DEBUG [Token] token[36] is locked by token[36] 20:51:56,829 DEBUG [Token] token[36] is unlocked by token[36] 20:51:56,830 ERROR [GraphElement] action threw exception: null java.lang.NullPointerException at java.util.StringTokenizer.(StringTokenizer.java:182) at java.util.StringTokenizer.(StringTokenizer.java:204) at org.jbpm.mail.Mail.tokenize(Mail.java:148) at org.jbpm.mail.Mail.getRecipients(Mail.java:70) at org.jbpm.mail.Mail.send(Mail.java:111) at org.jbpm.mail.Mail.execute(Mail.java:63) at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:247) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.ja va:185) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:289) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:263) at org.jbpm.taskmgmt.exe.TaskInstance.copySwimlaneInstanceAssignment(Tas kInstance.java:239) at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:195) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtIns tance.java:153) at org.jbpm.taskmgmt.exe.TaskMgmtInstance$$FastClassByCGLIB$$e1d53490.in voke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLa zyInitializer.java:163) at org.jbpm.taskmgmt.exe.TaskMgmtInstance$$EnhancerByCGLIB$$bc339adf.cre ateTaskInstance() at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:169) at org.jbpm.graph.def.Node.enter(Node.java:318) at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLa zyInitializer.java:163) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$f1bcc41d.enter() at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:393) at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:210) at org.jbpm.graph.node.TaskNode$$FastClassByCGLIB$$923668a4.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLa zyInitializer.java:163) at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$2dc073db.leave() at org.jbpm.graph.exe.Token.signal(Token.java:190) at org.jbpm.graph.exe.Token.signal(Token.java:161) at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLa zyInitializer.java:163) at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$21163199.signal() at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:471) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:410) at org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke () at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.hibernate.proxy.pojo.cglib.C
[jboss-user] [JBoss jBPM] - Re: JBPM Mulitple Processes
Hi Ian, I need to do the same thing - did you ever find a solution? Cheers Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008833#4008833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: graphical process design
Why don't you just experiment with the Designer? Drop some nodes on and put some transitions between them - then come back to the forum with specific questions if you have trouble. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008828#4008828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where Can I Get Process Templates?
Do you mean like "patterns"? Pretty difficult to produce as every business is different. You might have "best practices" by industry/segment, but you can't really have an "order fulfilment" template business process that is applicable to all industries. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008825#4008825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Split out main process into a user-defined number of sub-pro
Hi there, I have a business process where the main process needs to split out into a number of exactly alike subprocesses, and then join back up again into the main process once each of those subprocesses have finished running their course. The problem is that the number of sub-processes that need to be spawned is not consistent, and is actually input by the end user at runtime. I have no idea how to model this behaviour. An analogy is the process "Publish a book", where the sub-processes in question would be "Edit a chapter". Each chapter will go through the same steps as a sub-process, but the number of chapters (and hence the number of sub-processes required) is only known once the "Publish a book" main process is in course. Any ideas? Many thanks, Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997493#3997493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user