HTTP Example:POST /API/queryRuntimeAPI/getTaskListByUserIdAndActivityState/{userId}/{taskState}
options=…
| API Example: AbstractRemoteQueryRuntimeAPI.getTaskList({'userId': , 'taskState': , 'options': }); |
Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED
for the given user.
If the task has been assigned to a user, only this user can get the task into the returned list.
Otherwise all the users that belong to the candidate list can get the task. - Output:
- java.util.Collection<org.ow2.bonita.facade.runtime.TaskInstance> - a collection of task records. If no tasks are found, an empty collection is returned.
- Form parameters:
- options - the options map (domain, queyList, user)
- Produces:
- text/*
- application/xml
- Consumes:
- application/x-www-form-urlencoded
- text/*
- application/xml
|