REST api for HumanTask filter by process name?

I am using the humanTask REST API to display users with their pending tasks for a given process.

To do this I get the latest process definition based on process name. This gives me a processId that I then use in f=processId={{ processDef[0].id }} (not documented?).

Is there a way to filter on processName instead? The problem with my solution is that when I deploy a new version of the process I loose the humanTaskes for older definitions of the process.

Hi Guillaume,

Unfortunately, that is not supported by the product.

As today, the only two solutions I could see are either implement a REST Api extension that cover your needs or loop on all the versions of the process on the client side.

Cheers

i should you to uncheck the database option in preferences of bonita local, with this change the database will not cleaned when you run the proces for second time.

I am talking about a production environment where you deploy new process versions…

Not the answer I expected but I assumed this would be the case.
Thanks