REST api for HumanTask filter by process name?

1
0
-1

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.

Comments

Submitted by claz08 on Mon, 07/11/2016 - 16:37

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.

Submitted by g.lapierre on Mon, 07/11/2016 - 16:44

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

1 answer

1
0
-1
This one is the BEST answer!

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

Comments

Submitted by g.lapierre on Tue, 07/12/2016 - 16:12

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

Notifications