Path: / API / queryRuntimeAPI / getTaskList / {instanceUUID}

Obtains the user tasks depending on the given activity states for the given instance and the authenticated user.

Path parameters:
instanceUUID - the instance UUID.

Resources
NameDescription
{taskState}Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and the authenticated user.
{userId}
? {userId}/{taskState}
Obtains the tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and for the given user.

Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getTaskList/{instanceUUID}Obtains the user tasks depending on the given activity states for the given instance and the authenticated user.

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getTaskList/{instanceUUID}

taskStates=&options=
API Example:

RESTRemoteQueryRuntimeAPI.getTaskList({'instanceUUID': /* instanceUUID the instance UUID. */,
  'taskStates': /* taskStates the states of the task. */,
  'options': /* options the options map (domain, queyList, user) */});

Obtains the user tasks depending on the given activity states for the given instance and the authenticated user.

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:
taskStates - the {@link org.ow2.bonita.facade.runtime.ActivityState states} of the task.
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml