[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?

2007-01-11 Thread asmo
you are right. i try to pay better attention next time View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000620#4000620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000620 ___

[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?

2007-01-11 Thread asmo
" + methode.toString()); | methode.invoke( null, new Object[]{nargs} ); | Regards asmo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000602#4000602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?

2007-01-11 Thread asmo
Is the timer created in the database? If so, make sure that the scheduler is running. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000437#4000437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000437

[jboss-user] [JBoss jBPM] - Re: Transaction demarcation, callculation of the next proces

2007-01-11 Thread asmo
, and therefore i expected SecondState as output of the System.out. My question: Have i understood the documentation wrong and the output: node1 is, right? Or is there an error in my code and the actual node of the processinstance should be SecondState? Thanks asmo View the original post

[jboss-user] [JBoss jBPM] - Re: How to go back to a previous state/node?

2007-01-10 Thread asmo
Try : processInstance.getRootToken().setNode(node); As parameter you have to use the target node (Node object, not name..) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999831#3999831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [JBoss jBPM] - Re: Starting Process Instance and Webapp

2007-01-09 Thread asmo
Have you looked in the database, weather the task assignment is correct? Have you tried , weather the tasklist form ernie is correct in the assignment handler? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999459#3999459 Reply to the post : http://www.jbos

[jboss-user] [JBoss jBPM] - Transaction demarcation, callculation of the next process st

2007-01-09 Thread asmo
ogger.info("--- starting new transaction -"); | } | | } | Is there something wrong with my code or does the asynchron execution behave in that way like i thought? I am using the starterkit 3.1.1 and jpdl 3.1. Thanks, asmo View the original post : http://www.jboss.com/i

[jboss-user] [JBoss jBPM] - Re: difference between node and task-node

2007-01-08 Thread asmo
sorry, i have to correct my posting. you must call the exectionContext.leave("transtion") method in the activty action handler to leave the node View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999042#3999042 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss jBPM] - Re: change xml Schema to jpdl-3.1.xsd

2007-01-08 Thread asmo
It seems, that i could solve the problem. i have changed the processdefinition and there is no error any more. | http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.1.xsd"; | name="activityWorkflow"> | View the ori

[jboss-user] [JBoss jBPM] - change xml Schema to jpdl-3.1.xsd

2007-01-08 Thread asmo
eems as if furthermore jpdl 3.0 is used. Where can i change the xml schema I use the jbpm 3.1.1 starterkit. Thanks, asmo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999017#3999017 Reply to the post

[jboss-user] [JBoss jBPM] - Re: difference between node and task-node

2007-01-08 Thread asmo
as far as i know, task-nodes are used to assign tasks to human actors. tasks are actions, which must be executed by a person. Nodes are used to execute actions by external systems ( it-systems) e.g. a database update no human person is involved. an other difference is, that the node is no w

[jboss-user] [JBoss jBPM] - Diploma thesis jbpm

2006-10-18 Thread asmo
Hi! I am writing a diploma thesis ( i don't know, if this is the right term for the german word Diplomarbeit ), which deals with jbpm. Therefor, i have some question and i would be very grateful, if anyone could answer them. My challenge it to implement a workflow with jbpm. I thought about tw

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-17 Thread asmo
After a little more reading in the forum, i came to the conclusion, that having the jbpm code in the WEB-INF/class dir is the best way. Am i right? Is this just best practise or are there fundamental reasons? Maybee i should make a new thread, that issue has a little realation to this one Vi

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-17 Thread asmo
Thanks for your replies! GrimShieldsson, my problem is a little bit different. everything works fine, as all my actions and jbpm code was in the web-inf/class of my war. But than someone told my, that i shouldn't run jbpm in the frontend. So i put all the code in the backend and created a statel

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-16 Thread asmo
Hello! During the debuging i can see, that of the values of the processInstance, which i loaded from the graphSession are null. For example the processDefinition of the processInstance is null. In the database, the ProcessDefinition for the ProcessInstance is correctly set. So i guess, it is ma

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-11 Thread asmo
In the meantime, i could isolate the problem a little bit. If i create a processinstance direct on the parsed processdefinition, jbpm executes the action. step 1: try{ | | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance("jbpm.cfg.xml"); | |

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-11 Thread asmo
Makes it a differenz, wether the workflow runs i a web application or in a backend? If i put my workflow in the war archiv of my web application, i can execute it without any problem. If i try it in the backend ( jar archiv ), the workflow runs without execute the actions. Is there any reason,

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-10 Thread asmo
I have also tried an log4j info output. but there is also nothing to see on jboss ( the log4j is ok, i can see other info outputs...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977229#3977229 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss

2006-10-10 Thread asmo
One appendix: I forgot to mention, that there is no error or anything produced from jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977200#3977200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977200

[jboss-user] [JBoss jBPM] - Problem execute actions on jboss

2006-10-10 Thread asmo
Hello! I have some problems with exectue Actions on a jboss server. I ve made a little test definition with a start-state, a state and an end-state. The state should execute an action. In junit, the workflow runs without any problem. But when i deploy it on a jboss, jbpm doesn t execute the acti

[jboss-user] [JBoss jBPM] - Get finished tasks

2006-09-21 Thread asmo
Hi! Is there a way to get a list of all tasks for an actor, both the finished and the unfinished? As far as i know, the unfinished tasks is no problem about the jbpmContext.getTaskList( ActorId ) Is there an analog method for the finished tasks? Thank you! View the original post : http://www.j

[jboss-user] [JBoss jBPM] - Re: Problem with task assignment

2006-07-18 Thread asmo
Yes, that was the problem. Thank you very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958867#3958867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958867 ___ jb

[jboss-user] [JBoss jBPM] - Re: Problem with task assignment

2006-07-18 Thread asmo
Thank you for the quick reply! In the createActivity state is the createActionHandler called on the before-signal event. I have deleted all the code to avoid such "accidents", so that the actionHandler just call a transition to leave the node. | import org.jbpm.graph.def.ActionHandler; |

[jboss-user] [JBoss jBPM] - Problem with task assignment

2006-07-18 Thread asmo
Hello! I have written a little processdefinition and executed it in a jUnit test. Everything is ok and no failure occured. But the assignment handler of the task node is excecuted twice and i have no clue why. Could anyone give me an advise??? This is the processDefinition: | |