[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi, I am running the console app in tomcat 5.0.28, and am not sure where to look for a full stacktrace, nothing is listed in catalina.out or localhost_log.2007.txt. Where might I find more verbose information, do I need to enable it as a parameter? Thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074702#4074702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
I am using jboss and all errors are listed in console output. Don't have any idea there is it in your environment... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074713#4074713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
hmm perhaps if I try this process in the out of the box jboss app, I'll get the stacktrace information... but that does lead to the question how do I get more detailed exception information in tomcat ... cheers Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074730#4074730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi, trying the same thing in JBoss where I can get the stacktrace, I get... | 11:04:39,281 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks == | 11:04:39,414 ERROR [Delegation] couldn't load delegation class 'DatacentreAssignmentHandler' | java.lang.ClassNotFoundException: class 'DatacentreAssignmentHandler' could not be found by the process classloader | .. | .. | 11:04:39,442 ERROR [Delegation] couldn't instantiate delegation class 'DatacentreAssignmentHandler' | java.lang.NullPointerException | this leads me to believe that I am deploying my handler in the wrong way, namely I am just dropping the class file, in its folder structure manually under WEB-INF/classes in my web app... I guess I should be deploying it from within the designer plugin ? How should I be deploying a custom assignment handler? Thanks for your help, regards, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074773#4074773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
It should be packed with process definition archive and lie in archive /classes folder. Actually if class is in the same project as designed model deployment tab of process designer should put necessary class automatically. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074780#4074780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
ah right, I suspected it might be something like that, thanks Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074785#4074785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
swimlanes are not dynamic. Once set, it is set, unless you change the actors via the api. So you can e.g. create an actionhandler on the transition that sets the swimlane e.g. based on a processvariable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074307#4074307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
there is a jira issue for the making swimlanes more dynamic. Please vote for it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074309#4074309 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi thanks, this definitely sounds like what I need to do, is it supported within the graphical designer yet, or do I need to do it in process definition xml? Is it possible you could point me to a very simple example of this? Thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074310#4074310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074362#4074362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
http://www.jboss.com/index.html?module=bbop=viewtopict=113008 [EMAIL PROTECTED] wrote : As for skipping the start-state. You can start the process in any node from jPDL 3.2 on. Just do not model a start-state and add initial=true as an attribute on the node (state, mail-node, process-state, etc) that you want to be the first node in the process-definition. | | Regards, | Koen ...seems that i was not right at all... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074378#4074378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
OK...memo to myself: first test then write... This unit test shows the use of initial. It also shows, that my first attempt was right. ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( | process-definition + | xmlns='' name='test' initial='task1' + | task-node name='task1' + | task name='task1' + | /task + | transition name='' to='end1'/transition + | /task-node + | end-state name='end1'/end-state + | /process-definition | ); | | ProcessInstance processInstance = new ProcessInstance(processDefinition); | | Token token = processInstance.getRootToken(); | | assertSame(processDefinition.getNode(task1), token.getNode()); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074386#4074386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi guys, I am sorry, I don't think I am making the question clear, I am hoping to design in the eclipse designer a process where according to a variable set early on... a task later in the process is assigned accordingly to user A or user B. Ronald your idea of setting the actor for a swimlane via the api.. can I include a custom actionhandler on a transition in the eclipse designer.. as I hope to be building the process definitions within the eclipse designer? Syngolis, did you mean to reply in this post, I don't understand what you are saying, thanks for your help regards Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074393#4074393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
sorry, wrong topic... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074395#4074395 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
rossputin Just write custom assignmentHandler, example you can find in jbpm sources. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074398#4074398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Cheers for your help guys, sorry for my newbieness, I think I am beginning to see the picture... if I create a custom AssignmentHandler, I can attach this in the eclipse designer to the transition element where I want the process to be assigned according the variable I set earlier...? I found an example of a custom handler at org.jbpm.tutorial.taskmgmt, 'the nappy concept' being appropriate here, and my particular task where I need dynamic assignment should look something like.. | task-node name='test task node' | task name='test task' | assignment class='org.some.project.assignmenthandlers.TestAssignmentHandler' / | /task | transition to='end' / | /task-node | thanks for your help and patience, regards, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074410#4074410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
but then you have to add this to EACH task that is what swimlanes are for if they were just a little more dynamic. The last proposal to me is a workaround. An assignmenthandler cannot be attached to a transition. You have to write an actionhandler that does an assignment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074428#4074428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi, I see your point, yes dynamic swimlanes would be a better approach, how do I vote on the JIRA issue related to this topic ? cheers Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074437#4074437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Hi, I am getting the following error when testing a simple process with a custom assignment handler attached to a task... Error completing task: An exception of type org.jbpm.graph.def.DelegationException was thrown. I compiled my handler, and put it under WEB-INF/classes in my web app. The node in question is... | task-node name=decision chose red light | task name=decision made red | assignment class=DatacentreAssignmentHandler/assignment | /task | transition to=end decision/transition | /task-node | and the body of my 'assign' method is... | ContextInstance contextInstance = executionContext.getContextInstance(); | | if (contextInstance.getVariable(colour).equals(green)) { | assignable.setActorId(ross); | } else { | assignable.setActorId(user); | } | what might be causing this? Thanks for your help in advance, regards Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074473#4074473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi
Give us a stacktrace View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074660#4074660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user