06-26-2014 06:26 PM
JSONStringer jsAssignee = new JSONStringer();
jsAssignee.object().key("assignee").value(actorName);
jsAssignee.endObject();
JsonRepresentation jsonAssigneeRepresentation = new JsonRepresentation(jsAssignee);
Representation assigneeResponse = getClientResource("http://localhost:8080/activiti/runtime/tasks/21").put(jsonAssigneeRepresentation);
JSONStringer jsComplete = new JSONStringer();
jsComplete.object().key("action").value("complete");
jsComplete.endObject();
JsonRepresentation jsonCompleteRepresentation = new JsonRepresentation(jsComplete);
Representation completeResponse = getClientResource(uri).post(jsonCompleteRepresentation, MediaType.APPLICATION_JSON);
07-07-2014 07:28 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.