Hello, I have a problem with a webAPI I've just created.
I have this web API:
a!startProcess( processModel: cons!BPM_CONS_PROCESS_RIB, processParameters: { taskId: a!fromJson( http!request.body ).taskId, code_BIC: a!fromJson( http!request.body ).code_BIC, code_IBAN: a!fromJson( http!request.body ).code_IBAN, code_Banque: a!fromJson( http!request.body ).code_Banque }, onSuccess: a!httpResponse( statusCode: 200, headers: { a!httpHeader(name: "Content-Type", value: "application/json") }, body: a!toJson( fv!processInfo ) ), onError: a!httpResponse( statusCode: 500, headers: { a!httpHeader(name: "Content-Type", value: "application/json") }, body: a!toJson( { error: "There was an error starting the process", taskId: a!fromJson( http!request.body ).taskId, code_BIC: a!fromJson( http!request.body ).code_BIC, code_IBAN: a!fromJson( http!request.body ).code_IBAN, code_Banque: a!fromJson( http!request.body ).code_Banque } ) ) )
When I test it I have this error:
errorMessage: "The process model specified is invalid or does not exist. Process Model ID: 379."
Here are the variables:
I created a lot of web API that start process and I never had this problem.
Anyone have a clue?
Thanks
Discussion posts and replies are publicly visible
process parameter passed in WEB API is wrong i.e code_Banque its nom_Banque its visible in the screenshot shared by you.