JBoss Community

Re: JBPM HUMAN TASK, TASK SERVER

created by Alex Wulms in jBPM - View the full discussion

Hi,

 

I'm having similar issue.

I have installed jBPM 5.3 final with ant install.demo.

I have started all processes with ant start.demo

I have made a small workflow with a start event, a human task event and an end event

 

I have made a program to start the workflow and then in a loop monitor the status of the workflow.

 

I get inconsistent behaviour.

 

Sometimes it all works as expected:

-Human task gets created and becomes visible in human task view in eclipse

-Program reports that process is active.

-The program goes into a loop whereby it validates the workflow status each 3 seconds, as long as the workflow is still active and reports on the status.

-I use the human task view in eclipse to start and complete the task

-As soon as the task is completed, the program reports that the process is no longer active

 

Sometimes it acts weird in one way:

-The program reports the above mentioned time-out while starting the workflow

-However, the human task does become visibible in human task view in eclipse, so the creation is successfull, despite the exception

-The program reports that the process is active and keeps reporting it, until I complete the human task with the human task view in eclipse, after which the program reports that the workflow is completed.

 

Sometimes it acts weird in another way:

-The human task gets created and becomes visible in human task view in eclipse. I don't get any exceptions.

-On first iteration, program reports that the process is active (as expected)

-On second iteration, program reports that the process is completed.

-The human task however is still in status 'reserved', as I did not yet start and complete the human task using the human task viewer.

 

Any help in troubleshooting these issues is appreciated

 

Thanks and kind regards,

Alex

 

 



Reply to this message by going to Community

Start a new discussion in jBPM at Community