[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?
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=bbop=viewtopicp=4000437#4000437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?
If the scheduler start you should see something like this: 21:22:44,375 DEBUG [Scheduler] starting the scheduler And after that, the scheduler should check the database for timer every 5 seconds ( i think 5 seconds is the default value, but i am not sure...) and you can see this: 21:24:12,328 DEBUG [SchedulerThread] checking for timers Otherwise, you must start the scheduler. You could do this in the web.xml. there you must config the scheduler simular to this ( i don t use the scheduler servlet, so i don t know, if this is exactly right). servlet | servlet-nameJbpmThreadsServlet/servlet-name | servlet-classorg.jbpm.web.JbpmThreadsServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet-mapping | servlet-nameJbpmThreadsServlet/servlet-name | url-pattern/threads/url-pattern | /servlet-mapping Alternative you could start the main method of the org.jbpm.scheduler.impl.SchedulerThread. I do this with java reflection in a java class, but i have no big java experience, so this is may not the best way, but it works... :-) String[] nargs = {4000, 40 ,dd/MM/ HH:mm:ss}; | Class sched = Class.forName( org.jbpm.scheduler.impl.SchedulerMain); | Method[] methods = sched.getMethods(); | logger.info(Die methoden: +methods.toString()); | Method methode = sched.getMethod( | main , nargs.getClass()); | logger.info(Die methode: + methode.toString()); | methode.invoke( null, new Object[]{nargs} ); | Regards asmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000602#4000602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to create a Timer on a task-node?
you are right. i try to pay better attention next time View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000620#4000620 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to go back to a previous state/node?
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=bbop=viewtopicp=3999831#3999831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Transaction demarcation, callculation of the next process st
Hello all! I want to use asynchron process execution. Therefore, i have an action in a node, in which the thread waits 10 seconds to simulate a long calculation. Without the asynchron execution, i call the signal method on a state, the processinstance enters the node and after 10 seconds, the processinstance leaves the node and the processinstance is in the next state element. As far as i understand the tutorial, with asynchron execution, the processinstance should at once enter the state after the asynchron node, without waiting for the execution of the action. anonymous wrote : | Note that the jbpm client code can now commit the transaction. The sending of the message should be done in the same transaction as the process updates. So the net result of the transaction is that the token has moved to the next node (which has not yet been executed) and a org.jbpm.command.ExecuteNodeCommand-message has been sent on the asynchronous messaging system to the jBPM Command Executor. But i have the situtation, that the client thread doesn't wait for the callculation but regardless the processinstance is in the tooken has not moved to the next state. the tooken still is in the asynchron node. here is the code i used ( which runs without problems, if i use synchron execution and also if i use asynchron execution, there are no errors. i just wonder, why the token does not move...) : | | //get the processinstance and so on | | processInstance.signal(created); | | jbpmContext.save(processInstance); | processInstance = null; | | newTransaction(); | | processInstance = jbpmContext.loadProcessInstance(processId.longValue()); | | | //at this point i thougt, by asynchron execution the tooken has to | //be in the state element after the asynchron node, but the | //tooken is still in the node. | | logger.info(the processinstance is in : + processInstance.getRootToken().getNode().getName()); | | //doing stuff like close the context | | | | protected void newTransaction() { | try { | commitAndCloseSession(); | beginSessionTransaction(); | } catch (Throwable t) { | throw new RuntimeException(couldn't commit and start new transaction, t); | } | } | public void commitAndCloseSession() { | jbpmContext.close(); | resetMembers(); | } | | protected void initializeMembers() { | session = jbpmContext.getSession(); | graphSession = jbpmContext.getGraphSession(); | taskMgmtSession = jbpmContext.getTaskMgmtSession(); | loggingSession = jbpmContext.getLoggingSession(); | schedulerSession = jbpmContext.getSchedulerSession(); | contextSession = jbpmContext.getContextSession(); | messagingSession = jbpmContext.getMessagingSession(); |} | | protected void resetMembers() { | session = null; | graphSession = null; | taskMgmtSession = null; | loggingSession = null; | schedulerSession = null; | contextSession = null; | messagingSession = null; |} |public void beginSessionTransaction() { |jbpmContext = MyJbpmConfigurationLoader.getConfiguration().createJbpmContext(); |initializeMembers(); |logger.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/index.html?module=bbop=viewtopicp=3999425#3999425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Starting Process Instance and Webapp
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=bbop=viewtopicp=3999459#3999459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: difference between node and task-node
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 wait state ( unlike the task-node ). that means, that the processinstance execute the list of actions, which is defined for the node and direct leave the node. Therefore, you must tell the processinstance in one of the actions, which transtion should be taken ( node.leave(transition)) otherwise, the default transtion would be taken. I hope, i could help ( i know, my english is awful) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3999012#3999012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - change xml Schema to jpdl-3.1.xsd
Hi all! Until know, i have used jpdl 3.0 ( xml schema http://jbpm.org/xsd/jpdl-3.0.xsd ) But know, i want to use the asynchron execution of nodes and therefore i must change my xml schema to jpdl 3.1. I have tried to change the processdefinition in this way: process-definition | xmlns=http://jbpm.org/3/jpdl; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.1.xsd; | name=activityWorkflow But i got an error : 14:22:47,953 DEBUG [JpdlParser] resolving schema reference publicId(null) systemId(http://jbpm.org/jpdl-3.0.xsd) | 14:22:47,953 DEBUG [JpdlParser] providing input source to local 'jpdl-3.0.xsd' resource | 14:22:48,078 ERROR [LogInterceptor] EJBException in method: public abstract de.uniSiegen.crm.server.beans.stateless.interfaces.Workflow de.uniSiegen.crm | .server.beans.stateless.interfaces.WorkflowHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException, causedBy: | org.jbpm.jpdl.JpdlException: [[ERROR] line 81: cvc-complex-type.3.2.2: Attribute 'async' is not allowed to appear in element 'node'.] | at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163) | at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172) | at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153) | It seems 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=bbop=viewtopicp=3999017#3999017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change xml Schema to jpdl-3.1.xsd
It seems, that i could solve the problem. i have changed the processdefinition and there is no error any more. | process-definition | xmlns=urn:jbpm.org:jpdl-3.1 | xmlns:xsi=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 original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3999040#3999040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: difference between node and task-node
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=bbop=viewtopicp=3999042#3999042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Diploma thesis jbpm
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 two appendages: 1. run the workflow in the frontend. this means to create a web application and the jbpm actions call the backend functions over business delegates. 2. run the workflow in the backend. Therefor i would create a stateless session bean, that contains the jbpm code. In the meantime i think, that the first approach is more common. Could someone tell my something about the adavantages / disadvantages of these two approaches. Is one of them gernerally wrong? I would be very thankful for any information! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979041#3979041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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 stateless session bean. these methods sould called form the jsf-managed beans for starting the process So far so good, i can start the process and the process instance runs through the single steps, but without execute the actions. The junit test runs without failure so i guess, the problem is concerned with the jboss. is it generally better to run jbpm in the war? or is it maybee generally wrong to put the code in the backend? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978709#3978709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978829#3978829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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 maybe a problem with hibernate. Has someone an idee, what i can do? It seems, that i am the only one, who has this problem so i guess, it is a really stupid error, i have produced View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978585#3978585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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, why jbpm should run in the backend? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977464#3977464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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); | | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessDefinition processDefinition =ProcessDefinition.parseXmlResource(activityWorkflow.par/processdefinition.xml); | | ProcessInstance processInstance = processDefinition.createProcessInstance(); | | processInstance.signal(startWorkflow); | processInstance.signal(created); | | jbpmContext.save(processInstance); | | }catch(Exception e){ |e.printStackTrace(); | }finally{ |jbpmContext.close(); | } | } If i first save the processInstance and later load it back from the database, the action won't execute. JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml); | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessDefinition processDefinition =ProcessDefinition.parseXmlResource(activityWorkflow.par/processdefinition.xml); | |ProcessInstance processInstance = processDefinition. |Long id = Long.valueOf(processInstance.getId()); | |jbpmContext.deployProcessDefinition(processDefinition); |jbpmContext.save(processInstance); |}catch(Exception e){ | e.printStackTrace; |}finally{ | jbpmContext.close(); |} | return id; step 2: JbpmConfiguration jbmpConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessInstance processInstance = graphSession.loadProcessInstance(processId.longValue()); | | processInstance.signal(); | jbpmContext.save(processInstance); | }catch(Exception e){ | e.printStackTrace; | }finally{ | jbpmContext.close(); | } Is there something wrong in the way i save and load the processInstance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977515#3977515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem execute actions on jboss
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 action. When i ask the processinstance for its node name, i can see, that the workflow runs form one state to another. But without executing the action. I ve tried serveral kinds of action ( befor-signal, after-signal...) but without any change. Can someone tell me, what i ve made wrong? ( once again a stupid error i ve produced?? ) I use jbpm 3.1.1. and the jboss 4.0.3.sp1 my processdefinition ?xml version=1.0 encoding=UTF-8? | process-definition | xmlns=http://jbpm.org/3/jpdl; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd; | name=processActivity |start-state name=start | transition name=startWorkflow to=createActivity | /transition |/start-state |state name=createActivity | transition name=created to=end1/transition | event type=after-signal | action name=action1 class=de.uniSiegen.crm.server.workflow.action.TestActivity/action | /event |/state |end-state name=end1/end-state | /process-definition my simple action handler: | package de.uniSiegen.crm.server.workflow.action; | | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | | public class TestActivity implements ActionHandler { | | public void execute(ExecutionContext arg0) throws Exception { | | System.out.println( in the test activity!); | } | | } I would be very grateful for any help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977196#3977196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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=bbop=viewtopicp=3977200#3977200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
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=bbop=viewtopicp=3977229#3977229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Get finished tasks
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.jboss.com/index.html?module=bbop=viewtopicp=3973169#3973169 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with task assignment
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: process-definition | name=crmTest |start-state name=start | transition name=to_createActivity to=createActivity/transition |/start-state |state name=createActivity | event type=before-signal | action name=action1 class=createActionHandler/action | /event | transition name=to_handleActivity to=handleActivity/transition |/state |task-node name=handleActivity | | task name=task1 | assignment class=activityAssignment/assignment | /task | transition name=tr2 to=createActivity/transition | transition name=to_end to=end/transition |/task-node |end-state name=end/end-state | /process-definition this is the code of the jUnit test: | public class HelloWorldDbTest extends TestCase{ | | static JbpmConfiguration jbpmConfiguration = null; | | static { | |jbpmConfiguration = JbpmConfiguration.parseResource(jbpm1.cfg.xml); | | | } | public void setUp(){ | jbpmConfiguration.createSchema(); | | } | public void tearDown(){ | // jbpmConfiguration.dropSchema(); | } | public void testSimplePersistence(){ | deployProcessDefinition(); | assign(); | | } | | public void deployProcessDefinition(){ | | ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource(processdefinition.xml); | System.out.println(name of the processdefinition: + processDefinition.getName()); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | try{ | jbpmContext.deployProcessDefinition(processDefinition); | }finally{ | jbpmContext.close(); | } | } | public void assign(){ |JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); |try{ |GraphSession graphSession = jbpmContext.getGraphSession(); |ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(crmTest); | |ProcessInstance processInstance = new ProcessInstance(processDefinition); | |Token token = processInstance.getRootToken(); | |assertEquals(start, token.getNode().getName()); | | |token.signal(); |assertEquals(createActivity , token.getNode().getName(),createActivity); | |token.signal(); |assertEquals(handleActivity , token.getNode().getName(), handleActivity); | |Collection tasks = processInstance.getTaskMgmtInstance().getTaskInstances(); |Iterator it = tasks.iterator(); | |while(it.hasNext()){ |TaskInstance taskInstance = (TaskInstance)it.next(); |System.out.println(Taskinstance + taskInstance.getId() + finished); |taskInstance.end(to_end); |} | |assertEquals(end expected, token.getNode().getName(), end); | |jbpmContext.save(processInstance); | |}finally { |jbpmContext.close(); | |} | } | | and at least the output of the console: | 15:44:48,390 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node]; using defaults. | 15:44:48,453 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults. | 15:44:48,625 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults. | 15:44:48,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults. | 15:44:48,875 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults. | 15:44:48,890 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults. | 15:44:49,156 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Action]; using defaults. | 15:44:49,203 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Event]; using defaults. | 15:44:49,406 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults. | 15:44:49,515 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Transition];
[jboss-user] [JBoss jBPM] - Re: Problem with task assignment
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; | import org.jbpm.graph.exe.ExecutionContext; | | public class createActionHandler implements ActionHandler { | | public void execute(ExecutionContext arg0) throws Exception { | // TODO Auto-generated method stub | | | arg0.getNode().leave(arg0,to_handleActivity); | | | } | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958854#3958854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user