| Method | Context | Description | Mime Types |
|---|---|---|---|
| GET | /rs/process/definitions | A list of process definitions | application/json |
| GET | /rs/process/definitions/{id} | A given process definition (OKM) | application/json |
| GET | /rs/process/instances/{id} | A given process instance (OKM) | application/json |
| POST | /rs/process/definitions/{processId}/remove | Removes a particular process definition | application/json |
| GET | /rs/process/definitions/{id}/instances | A list of process instances for a given process definition | application/json |
| POST | /rs/process/instances/{id}/state/{next} | Change instance state (RUNNING, SUSPENDED, ENDED) | */* |
| POST | /rs/process/definitions/{processId}/instances/new | Create a new process instance | application/json |
| Method | Context | Description | Mime Types |
|---|---|---|---|
| GET | /rs/tasks/actor/{actorId} | A list of available tasks (OPEN and IN_PROGRESS) for an actor | application/json |
| GET | /rs/tasks/pooled/{actorId} | A list of available pooled tasks (OKM) | application/json |
| POST | /rs/tasks/{taskId}/assignment/{actorId} |
Assign a task to an actor actor. If you leave out the actorId it will release (IN_PROGRESS->OPEN) the task |
application/json |
| POST | /rs/tasks/{taskId}/close/transition?signal={signalName} | Complete a task with signal | application/json |
| POST | /rs/tasks/{taskId}/close/transition/default | Complete a task with default transition | application/json |
| Method | Context | Description | Mime Types |
|---|---|---|---|
| GET | /rs/jbpm3/definitions/{processId}/image | Retrieve a process definition image (GPD), if deployed | image/jpeg |
| GET | /rs/jbpm3/definitions/{processId}/diagramInfo | Retrieve a process definition coordinates (GPD) | application/json |
| GET | /rs/jbpm3/instances/{instanceId}/activeNodeInfo | Retrieve a process definition coordinates (GPD) of the active node | application/json |
| POST | /rs/jbpm3/definitions/new | Upload a new process definition | Accept:multipart/form-data Produce:application/json |
| POST | /rs/jbpm3/tokens/{tokenId}/transition?signal={signalName} | Signal a token by specifiy a transition | |
| POST | /rs/jbpm3/tokens/{tokenId}/transition/default | Signal a token to take the default transition |
curl -u "admin:admin" -H "Accept: application/json" -X POST -F content=@Purchase.par http://localhost:8080/jbpm-console/admin/registerWorkflow
curl -u "admin:admin" -H "Accept: application/json" http://localhost:8080/jbpm-console/rs/process/definitions
curl -u "admin:admin" -H "Accept: application/json" http://localhost:8080/jbpm-console/rs/process/definitions/1/instances