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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to