02-07-2015 05:12 AM
method : get
http://localhost:8081/activiti-rest/service/repository/process-definitions?key=approvalProcess
output: Status 200 OK
{
data: [1]
0: {
id: "approvalProcess:1:11580"
url: "http://localhost:8081/activiti-rest/service/repository/process-definitions/approvalProcess:1:11580"
key: "approvalProcess"
version: 1
name: "Page Approval Process"
description: null
deploymentId: "11577"
deploymentUrl: "http://localhost:8081/activiti-rest/service/repository/deployments/11577"
resource: "http://localhost:8081/activiti-rest/service/repository/deployments/11577/resources/Page Approval Process.bpmn20.xml"
diagramResource: "http://localhost:8081/activiti-rest/service/repository/deployments/11577/resources/Page Approval Process.approvalProcess.png"
category: "http://activiti.org/bpmn20"
graphicalNotationDefined: false
suspended: false
startFormDefined: false
}-
-
total: 1
start: 0
sort: "name"
order: "asc"
size: 1
}
method: post
url:http://localhost:8081/activiti-rest/service/runtime/process-instances
header
Authorization:Basic a2VybWl0Omtlcm1pdA==
Accept:application/json
Content-Type:application/json
body
{
"processDefinitionKey":"approvalProcess",
"variables": [
{
"type":"page",
"typeId":"123"
}
]}
Status
400 Bad Request
02-09-2015 04:59 PM
02-11-2015 04:05 AM
02-11-2015 04:48 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.