Hi everyone,
like said by Sean I’m trying to use Web Api to connect to Bonita BPM Engine. I’m trying to start a process by creating (please correct me if I’m doing wrong) a new case. I’m using the sample process “create supplier”, using postman chrome plugin as a client for Web API.
This that follow the Json used for the request:
{
"processDefinitionId":7718643308768395187,
"variables":[{"name":"name", "value":"test" }, { "name":"description", "value":"test_description"}]
}
The response payload is a “500 server error” with the following exception:
"Data definition name doesn't exists for process 7718643308768395187"
I’ve checked the processId by checking ProcessInformation API and Contract API, so I’m quite sure it’s the right one. Not sending any variable, or not sending “name” and/or “description” variable produces the following exception:
USERNAME=walter.bates | org.bonitasoft.engine.bpm.contract.ContractViolationException: Error while validating expected inputs: [Expected input [name] is missing, Expected input [description] is missing]
What am I doing wrong ?
Thanks to everyone who will answer me.