I suppose there is no ready solution in jBPM for your use case.
Such logic has to be implemented by yourself. jBPM is rather a tool case not the solution for all possible use cases involving workflow.
But in the API you have plenty of methods to solve this with ease.
I am definitely not expecting it to be out of the box.
Can you be more specific on how to solve this with ease using API ?