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

Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and the authenticated user.

Path parameters:
instanceUUID - the instance UUID.
taskState - the {@link org.ow2.bonita.facade.runtime.ActivityState state} of the task.

Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getTaskList/{instanceUUID}/{taskState}Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and the authenticated user.

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

options=
API Example:

AbstractRemoteQueryRuntimeAPI.getTaskList({'instanceUUID': /* instanceUUID the instance UUID. */,
  'taskState': /* taskState the state of the task. */,
  'options': /* options the options map (domain, queyList, user) */});

Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED 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:
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml