My question:
I use this POST request to create two process instances with id 101 and 102:
POST http://localhost:8080/kie-server/services/rest/server/containers/test_1.0.0-SNAPSHOT/processes/test.test1/instances/correlation/test_1
Lets say I have a REST API get request like this one that query the task_id=101:
GET http://localhost:8080/kie-server/services/rest/server/queries/tasks/instances/process/101
This query will get me an output like this one:
{ "task-summary" : [ ]}
The output that I want to get is in the process instance id 102 and it looks like this one:
"task-summary" : [ {
"task-id" : 60,
"task-name" : "Testing_env",
"task-subject" : "",
"task-description" : "Testing",
"task-status" : "Ready",
"task-priority" : 0,
"task-is-skipable" : false,
"task-actual-owner" : null,
"task-created-by" : null,
"task-created-on" : {
"java.util.Date" : 1622841074000
So, how can i somehow get the request for only id 102 with an url like this:
GET http://localhost:8080/kie-server/services/rest/server/queries/tasks/instances/process/101+1
I tried this and it wont work. So, what I actually want is to add somehow that +1 not to put 102 manually there?