cancel
Showing results for 
Search instead for 
Did you mean: 

GET runtime/tasks problem

msellani
Champ in-the-making
Champ in-the-making
I deployed activiti with mssql.
When I run the rest method GET runtime/tasks some documented parameters don't work: processDefinitionKey, processDefinitionKeyLike, processDefinitionName, processDefinitionNameLike.
Can you help me?
TIA, marco sellani.
7 REPLIES 7

frederikherema1
Star Contributor
Star Contributor
Seems like the process-definition specific parameters are indeed missing. I'll make sure this is fixed in 5.15. As a workaround, you can use the POST query/tasks instead, using a JSON-body with those properties, they are available already there…

hi, the  POST query/tasks seems like just create a new task,not query,I really need to query task by processDefinitionKey .Would you please give me some other instead solution,thanks.

msellani
Champ in-the-making
Champ in-the-making
ok, but the query/tasks also doesn't work.
marco

morningsunshine
Champ in-the-making
Champ in-the-making
I found that query parameter  processInstanceBusinessKeyLike  works for me .

morningsunshine
Champ in-the-making
Champ in-the-making
I made a mistake when testing processInstanceBusinessKey then processInstanceBusinessKeyLike,actually it is not work, I also tried taskDefinitionKeyLike not work agin ,when I try "description" ,the quey result is fine when use this parameter alone ,when use combine with cadidateUser, I got empty result ,why?,the rest api is really confusing! any advice?

morningsunshine
Champ in-the-making
Champ in-the-making
I notice the  POST query/tasks interface,everything is ok ,thanks

msellani
Champ in-the-making
Champ in-the-making
Sorry, but with post and sqlserver installation processDefinitionKey and processDefinitionKeyLike work in the same way, that is processDefinitionKeyLike
TIA, marco.