cancel
Showing results for 
Search instead for 
Did you mean: 

query tasks - repeat parameters - rest api

nicolasfranck
Champ in-the-making
Champ in-the-making
I want to retrieve a list of tasks whose "candidateGroup" is listed in the parameter "candidateGroup".

Something like this:

http://andric:8888/activiti-rest/service/runtime/tasks?candidateGroup=group1,group2

The java api seems to have such an option "candidateGroupIn", but is not reflected in the rest api.

I found a possible solution..

http://forums.activiti.org/content/and-condition-candidategroup
http://jira.codehaus.org/browse/ACT-1448

..that would make "candidateGroup" an expression, but it does not work:

http://andric:8888/activiti-rest/service/runtime/tasks?candidateGroup=group1|group2

Any idea?



6 REPLIES 6

trademak
Star Contributor
Star Contributor
Don't understand your point.
We should add support in the REST API for this. Would that solve your issue?

Best regards,

nicolasfranck
Champ in-the-making
Champ in-the-making
It would indeed 😉

trademak
Star Contributor
Star Contributor
Good point. Could you create a JIRA issue for this?

Thanks,

nicolasfranck
Champ in-the-making
Champ in-the-making
I would if I knew how to create an account in https://jira.codehaus.org/secure/Dashboard.jspa

trademak
Star Contributor
Star Contributor
You can create an account here:

http://xircles.codehaus.org/signup

Best regards,

nicolasfranck
Champ in-the-making
Champ in-the-making