[jboss-user] [jBPM] - Re: JBPM HUMAN TASK, TASK SERVER

Alex Wulms do-not-reply at jboss.com
Mon Jul 30 12:12:27 EDT 2012


Alex Wulms [https://community.jboss.org/people/awulms_work] created the discussion

"Re: JBPM HUMAN TASK, TASK SERVER"

To view the discussion, visit: https://community.jboss.org/message/751034#751034

--------------------------------------------------------------
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
[https://community.jboss.org/message/751034#751034]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120730/8d66c2f5/attachment.html 


More information about the jboss-user mailing list