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
Could you please check for process parameters and their datatypes also respective passed values and its datatypes?
I faced the similar but found the route cause that one of the process variables datatype does not match between parameterized process variable of sub process model and passed process variable of parent process model.