Perform Actions on a List of Instances
put
/ic/api/process/v1/processes
Performs actions on instance list
Request
value of process IDs and update states
Root Schema : action
Type:
Show Source
object
-
abortType(optional):
string
-
activityChanges(optional):
array activityChanges
-
assignees(optional):
array assignees
-
comments(optional):
string
-
correlationKeyChanges(optional):
array correlationKeyChanges
-
dataObjectChanges(optional):
array dataObjectChanges
-
faultActionType(optional):
string
-
flowId(optional):
integer(int64)
-
id(optional):
string
-
instanceAttributeChanges(optional):
array instanceAttributeChanges
-
processes(optional):
array processes
-
type(optional):
string
Response
Supported Media Types
- application/json
- text/plain
200 Response
Success
304 Response
Not Modified
403 Response
Forbidden
500 Response
Internal Server Error
Examples
The following example shows how to perform actions on a list of process instance by submitting a PUT request on the REST resource.
Currently, the only action supported is recoverFaultedInstances
.
Send Request
https://example.com/ic/api/process/<version>/processes
Where,
-
example.com
is the host where Oracle Integration is running. -
<version> is the REST API version.
Example of Request Body
{ "processes":["3","5"], "id":"recoverFaultedInstances" }
Example of Response Header
Status Code: 200 OK Date: Wed, 27 Apr 2016 00:53:16 GMT Content-Type: application/json
Example of Response Body
Processes recovered successfully