I need to build very simple model with desktop modeler ,
to call this following GET API call [https://jsonplaceholder.typicode.com/users/1]
and read the following result :
{
“id”: 1,
“name”: “Leanne Graham”,
“username”: “Bret”,
“email”: “Sincere@april.biz”,
“address”: {
“street”: “Kulas Light”,
“suite”: “Apt. 556”,
“city”: “Gwenborough”,
“zipcode”: “92998-3874”,
“geo”: {
“lat”: “-37.3159”,
“lng”: “81.1496”
}
},
“phone”: “1-770-736-8031 x56442”,
“website”: “hildegard.org”,
“company”: {
“name”: “Romaguera-Crona”,
“catchPhrase”: “Multi-layered client-server neural-net”,
“bs”: “harness real-time e-markets”
}
}
I want to pass parameter userid = 1 and the get the result via parameters
How to configure connector for that , I read the docs, but it is very unclear for new users
I want to build test c# windows app that creates instance of the same model above, passes a value for the userId parameter, runs the instance and returns the parameter values (returnedName , returnedEmail)
As I read, I need to call Zebee Rest Api for that Any help on that ?
You can create an instance with results as follows
final ProcessInstanceResult processInstanceResult =
client
.newCreateInstanceCommand()
.bpmnProcessId(bpmnProcessId)
.latestVersion()
.withResult() // to await the completion of process execution and return result
.send()
.join();