-
1. Re: JBPM 6.2 Migration from 6.1 next task
abhijithumbe Mar 24, 2015 12:03 AM (in response to franco80)Hi,
Is there any subprocess involved ? can you please share simple test case to replicate issue
-
2. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 24, 2015 2:17 AM (in response to abhijithumbe)Yes, two subprocess at the beginning of the process.
-
3. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 24, 2015 9:13 AM (in response to franco80)I did a test. I created a new simple process with script (mvel), human task and script again (mvel) and second script is not starting after complition human task
-
4. Re: JBPM 6.2 Migration from 6.1 next task
abhijithumbe Mar 24, 2015 9:57 AM (in response to franco80)Hi,
I just tried at my end with process you described above, and its working fine. After completion of human task script task is executed. Can you confirm human task is completed. You can check task status from 'Task' or through 'taskSummary.getStatus()'.
-
5. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 24, 2015 11:15 AM (in response to abhijithumbe)Yes, task is completed. In database status equal: "Completed"
For now I'm creating a new project from the beginning but on wildfly 8.1, before was 8.2 becouse main project is on wildfly 8.2.
thanks
-
6. Re: JBPM 6.2 Migration from 6.1 next task
abhijithumbe Mar 24, 2015 11:51 AM (in response to franco80)I dont think its an container specific issue,I have attached standalone code which I have tried at my end. can you try with same and let us know if you face same issue.
-
DemoJbpm.zip 33.2 KB
-
-
7. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 25, 2015 5:45 AM (in response to abhijithumbe)Yours example works but this is only simple test like examples from jbpm-examples, not real (war/ear) application. I found also some examples from link: jsvitak/jbpm-6-examples · GitHub but it doesn't work on wildfly, I'm reciving many errors from both examples. Do you know or anybody place where I can find good example of jbpm 6.2 web application ?
thanks
-
8. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 25, 2015 7:18 AM (in response to franco80)ok, I did some research for example: rewards-cdi-jsf and it is working now.
Implemented interfaces:
- org.codehaus.plexus.context.Context
- com.google.inject.Injector
- org.eclipse.sisu.plexus.PlexusBeanManager
But now I see that I need a jar. I'm asuming that this jar should have bpmn file. I don't see this in example project.
-
9. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Mar 25, 2015 9:50 AM (in response to franco80)Next progress I created a jar with process and META-INF/kmodule.xml and example application rewards-cdi-jsf works. Now I have to move it to my ear application and replace version 6.1 (@Producer with RuntimeEnvironment) using kjar deployment.
thanks
-
10. Re: JBPM 6.2 Migration from 6.1 next task
franco80 Jun 18, 2015 9:36 AM (in response to franco80)finally I found solution. Because I had in CustomWorkItemHandlers.conf something like this:
"ServiceTaskHandler" : new org.jbpm.bpmn2.handler.ServiceTaskHandler(),
when I changed the version to 6.2 next task was not created, even if I added to CustomApplicationScopedProducer:
@Produces
public org.kie.api.task.TaskLifeCycleEventListener produceTaskListener() {
return new ExternalTaskEventListener();
}
it's working now without declaration of Human Task in CustomWorkItemHandlers.conf. Before I completely forgot about it but I hadn't pressure on it
thanks for help anyway
regards