I’m reaching out for assistance with creating a Case using Case Server. The process is working as expected in our sandbox environment; however, when attempting the same in the newly deployed environment, I’m encountering a 500 error (details below).
Hey @Promise_Bafana_Kopo , can you confirm that you have following each step given in this post ?
If you are getting error while creating case, there are two general issues:
The container is not available in the BPM Server. Please, navigate the process definitions list, and try to start the process from the BPM UI itself.
The process definition onboarding inside Case Manager has some mistake.
Please, don’t share the logs on community. In case you are still not able to figure out where the issue is originating from. Please, send a support request to support@neutrinos.com, our support team will contact you on Teams.
, and I can fetch all the case I’ve created on JBPM without any issues.
However, when I try to create a case via the Alpha Case Server APIs using the endpoint /caseservice/case/instance/create, it returns a 500 Internal Server Error.
Here is the payload I’m using:
{
“caseType”: “string”,
“caseData”: {},
“wfData”: {}
}
Noted, Paul thank you. I won’t be posting the logs.
the payload cannot be “caseType” is “string”, the caseType should be the name of the Case Definition that you set when you onboarded the case. Can you please double check that as well?
Hi Team,
We’ve resolved this issue. The root cause was missing wfData in the request payload. Once the required workflow data was included, the case was created successfully.