[jboss-user] [jBPM] - working with executions

Claus Straube do-not-reply at jboss.com
Wed Mar 24 10:29:54 EDT 2010


Claus Straube [http://community.jboss.org/people/clauss] replied to the discussion

"working with executions"

To view the discussion, visit: http://community.jboss.org/message/533731#533731

--------------------------------------------------------------
Hi Maciej,

first: thanks for your response. In my understanding the TaskService is for human interaction. But that's not what I want to do. I want to finish a "BPMN 2.0 receiveTask". The documentation says this:
> Process execution will wait in such a receive task. The process can then be continued using the familiar jBPM signal methods. Note that this will probably change in the future, since a 'signal' has a completely different meaning in BPMN 2.0.

As a code sample they provided this java snippet:

Execution execution = processInstance.findActiveExecutionIn("receiveTask");
executionService.signalExecutionById(execution.getId());


This is the xml snippet:

<receiveTask id="receiveTask" name="wait" /> 



The documentation says, that I can continue the process if I "signal" it. So I don't want to assign a task to a user or something. So my question is still open.

Best regards - Claus

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/533731#533731]

Start a new discussion in jBPM at Community
[http://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/20100324/4823a414/attachment.html 


More information about the jboss-user mailing list