4 Replies Latest reply: Apr 28, 2012 8:00 PM by Diorbert Pereira RSS

Unique Global Id

Diorbert Pereira Newbie

An task has a id that is unique within a node container, but if we want make a reference to a task in special, in a global way, we need the taskid and processid, but in human task client api (TaskClient.java), when we call the method:

 

public void start(long taskId,

                      String userId,

                      TaskOperationResponseHandler responseHandler)

 

I think that the task isnt identified uniquely because if we have two process, both with a valid human task with id=2, for example, how can the jBPM differentiate?

 

My main goal here is understand how is possible identify uniquely a task only with the taskid value.

 

Sorry for the english.

 

Thanks.