[jboss-user] [JBoss jBPM] - Re: Swimlane assignment to group

2007-09-11 Thread bazoo
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=bbop=viewtopicp=4082999#4082999

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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

2007-09-11 Thread bazoo
sorry forgot the code tags

I tried to test that out by changing my assignment expression for the swimlane 
in question to be:

assignment expression=group(sales)/assignment

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=bbop=viewtopicp=4083002#4083002

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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

2007-09-10 Thread bazoo
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=bbop=viewtopicp=4082760#4082760

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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

2007-09-08 Thread bazoo
Hi all, 

I can't make swimlane assignment to a group work. My swimlane definition is:

swimlane name=Legal 
  | assignment expression=group(Legal)/
  | /swimlane

The process definition and task assigment is:

task-node name=Contract 
  | task name=Contract swimlane=Legal 
  | 
  | /task
  | transition name= to=Contract response/
  | /task-node

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=bbop=viewtopict=73247start=10postdays=postDayspostorder=postOrderhighlight=highlight).
 I'm using jbpm-3.2GA. Can anyone explain? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082326#4082326

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=

2007-02-27 Thread bazoo
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=bbop=viewtopicp=4022939#4022939

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022939
___
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=

2007-02-26 Thread bazoo
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:

  task-node name=Name band
  |task name=Name band swimlane=Record producer notify=yes
  |  controller
  | variable name=bandName access=read,write,required 
mapped-name=Band name/variable
  |  /controller
  |   /task
  |   transition name= to=Organize vocal tuition/transition
  |/task-node

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(gene
rated)
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(genera
ted)
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(generate
d)
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 

[jboss-user] [JBoss jBPM] - Re: Problem with sending a mail using notify=

2007-02-26 Thread bazoo
Beta 2, I should have said.

Cheers
Matt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022684#4022684

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022684
___
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?

2007-01-31 Thread bazoo
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=bbop=viewtopicp=4008825#4008825

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008825
___
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

2007-01-31 Thread bazoo
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=bbop=viewtopicp=4008828#4008828

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008828
___
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

2007-01-03 Thread bazoo
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=bbop=viewtopicp=3997493#3997493

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3997493
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user