[jboss-user] [jBPM] - Re: How to create a simple waiting workflow

Jan Uhlir do-not-reply at jboss.com
Wed Feb 15 19:40:15 EST 2012

Jan Uhlir [https://community.jboss.org/people/espinosa_cz] created the discussion

"Re: How to create a simple waiting workflow"

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

> Mauricio Salatino wrote:
> ..You need to add a <task> -> service task node and then write an implementation of the WorkItemHandler class and do not complete the workitem inside the implementation. That will cause your process to wait until you finally decide to complete it...
Good tip. Thank you. 
Now I am stuck on how to signalize the custom task (MyWaitTask1WorkItemHandler aka MyWaitTask1) to complete and continue to the next task.
According to this  https://community.jboss.org/message/629016#629016 forum post, it is not possible to signalize Tasks, only Events:
+In general you cannot just signal any node directly ... however normally you have to model this as a signal event. (by+ Tihomir Surdilovic+)
Please, how should I here apply signal event?
Put an Event element after the MyWaitTask1? Or before? Neither give sense.
At the start of a new process "line"? I saw it in some examples. I puzzles me. See my post below.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120215/0748730c/attachment.html 

More information about the jboss-user mailing list