JBoss Community

Unique Global Id

created by Diorbert Pereira in jBPM - View the full discussion

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. :)

Reply to this message by going to Community

Start a new discussion in jBPM at Community