Create OPA Process Instance error - /process/api/v1/instances
Summary:
Hi Team,
We are trying to create an OPA instance using the below API, but getting the error, need help in resolving the same.
Resource URL - /process/api/v1/instances
Thanks,
Rahul
Content (required):
-
Version (include the version you are using, if applicable):
Version 23.02.2
Code Snippet (add any code snippets that support your topic, if applicable):
Request -
{
"params": {
"processDefinitionId": "3914a13f-dcc3-11ed-86b7-fe5229c882e3"
},
"dataObject": {
"applicantFormArgs" : {
"firstName": "Test",
"lastName": "User",
"requestDate": "2023-04-20"
}
}
}
Response-
{
"errorCode": "PR-ENG-REST-0514",
"status": 400,
"message": "Process Instantiation failed.",
"details": "Cannot instantiate process with application name:XXXX, Version:2.1, definition:null. Due to :PROCESS-TITLE-EVAL-ERR-001: Error evaluating process title",