cancel
Showing results for 
Search instead for 
Did you mean: 

Get List tasks using REST API

manas__
Champ in-the-making
Champ in-the-making
Hi everyone,

I need get List<Task> from Activiti (http://localhost:8080/activiti-rest/service/tasks?assignee=kermit). How can I get correct entity on client side?

List<UserTask> u = (List<UserTask>) response.getEntity(UserTask.class); return

java.lang.IllegalArgumentException: No more parsing elements.

Can you help me please?

Thanks a lot.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The response returned by the rest api is json. There is no automatic way of transforming that json to the Java counterpart again.