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

Gets an activity UUID among all available tasks of the logged user according to the given activity state and the given process instance UUID.

Path parameters:
instanceUUID - the process instance UUID
taskState - the activity state

Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getOneTaskByProcessInstanceUUIDAndActivityState/{instanceUUID}/{taskState}Gets an activity UUID among all available tasks of the logged user according to the given activity state and the given process instance UUID.

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

options=
API Example:

AbstractRemoteQueryRuntimeAPI.getOneTask({'instanceUUID': /* instanceUUID the process instance UUID */,
  'taskState': /* taskState the activity state */,
  'options': /* options the options map (domain, queyList, user) */});

Gets an activity UUID among all available tasks of the logged user according to the given activity state and the given process instance UUID.

Output:
org.ow2.bonita.facade.uuid.ActivityInstanceUUID - an activity UUID
Form parameters:
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml