Path: / API / queryRuntimeAPI / getProcessInstancesWithInstanceStates

Returns all records of instances in one of the given states.


Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getProcessInstancesWithInstanceStatesReturns all records of instances in one of the given states.

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getProcessInstancesWithInstanceStates

instanceStates=&options=
API Example:

RESTRemoteQueryRuntimeAPI.getProcessInstancesWithInstanceStates({'instanceStates': /* instanceStates a Collection of the required instance states */,
  'options': /* options the options map (domain, queyList, user) */});

Returns all records of instances in one of the given states.

Output:
java.util.Set<org.ow2.bonita.facade.runtime.ProcessInstance> - all records of instances in one task in one of the given states.
Form parameters:
instanceStates - a Collection of the required instance states
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml