Community

working with executions

reply from Claus Straube in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community