Path: / API / queryRuntimeAPI / getOneTaskByProcessDefinitionUUIDAndActivityState / {processUUID} / {taskState}

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

Path parameters:
taskState - the activity state
processUUID - the process UUID

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

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getOneTaskByProcessDefinitionUUIDAndActivityState/{processUUID}/{taskState}

options=
API Example:

AbstractRemoteQueryRuntimeAPI.getOneTask({'taskState': /* taskState the activity state */,
  'processUUID': /* processUUID the process UUID */,
  '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 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